<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazutomo</author_name>
  <author_url>https://blog.hatena.ne.jp/kazutomo/</author_url>
  <blog_title>GS2 Blog</blog_title>
  <blog_url>https://gs2.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに GS2-Exchange はゲーム内のリソースの交換処理を実装するためのマイクロサービスです。 GS2-Exchange はコスト上昇型交換という機能を持っており、これは名前の通り交換を実行するたびに交換に必要なコストが増えていきます。 具体的にはスタミナを課金通貨を使用して回復する仕様があった時に、毎日最初の回復は課金通貨10個で実行できますが、2回目は20個必要になるような仕様を実現できます。 さらに、この上昇量は線形などの単純なものであれば特にコードの記述なく実装できるようになっていますが、より複雑な計算に基づいてコストの上昇量を決定したい場合には GS2-Script を使っ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgs2.hatenablog.com%2Fentry%2F2024%2F09%2F12%2F100000&quot; title=&quot;GS2-Exchange のコスト上昇型交換処理のコスト計算スクリプトで 64bit整数値 以上の値を扱えるようになりました - GS2 Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-09-12 10:00:00</published>
  <title>GS2-Exchange のコスト上昇型交換処理のコスト計算スクリプトで 64bit整数値 以上の値を扱えるようになりました</title>
  <type>rich</type>
  <url>https://gs2.hatenablog.com/entry/2024/09/12/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
