GS2-Money2 Buff リファレンス

GS2-Buff でバフを適用する際に指定する、パラメータの補正が可能なモデル/アクション内のフィールドと、その適用範囲の設定について

Action

バフを適用可能なアクションの種類

Gs2Money2:DepositByUserId

ユーザーIDを指定してウォレットの残高に加算

バフの適用対象フィールド

count

DepositTransaction - 入金トランザクション

有効化条件必須デフォルト値の制限説明
countint
0 ~ 2147483646課金通貨の数量
マスターデータ記述例
"targetAction": {
    "targetActionName": "Gs2Money2:DepositByUserId",
    "targetFieldName": "count",
    "conditionGrns": [
    ],
    "rate": 1.0
}

バフの適用条件モデル

Gs2Money2:Wallet

ウォレット

マスターデータ記述例
"conditionGrns": [
    {
        "targetModelName": "Gs2Money2:Wallet",
        "targetGrn": "grn:gs2:{region}:{ownerId}:money2:{namespaceName}:user:{userId}:wallet:{slot}"
    }
]

Gs2Money2:Withdraw

ウォレットから残高を消費

バフの適用対象フィールド

withdrawCount

Wallet - ウォレット

有効化条件必須デフォルト値の制限説明
withdrawCountint
1 ~ 2147483646消費する課金通貨の数量
マスターデータ記述例
"targetAction": {
    "targetActionName": "Gs2Money2:Withdraw",
    "targetFieldName": "withdrawCount",
    "conditionGrns": [
    ],
    "rate": 1.0
}

バフの適用条件モデル

Gs2Money2:Wallet

ウォレット

マスターデータ記述例
"conditionGrns": [
    {
        "targetModelName": "Gs2Money2:Wallet",
        "targetGrn": "grn:gs2:{region}:{ownerId}:money2:{namespaceName}:user:{userId}:wallet:{slot}"
    }
]

Gs2Money2:WithdrawByUserId

ユーザーIDを指定してウォレットから残高を消費

バフの適用対象フィールド

withdrawCount

Wallet - ウォレット

有効化条件必須デフォルト値の制限説明
withdrawCountint
1 ~ 2147483646消費する課金通貨の数量
マスターデータ記述例
"targetAction": {
    "targetActionName": "Gs2Money2:WithdrawByUserId",
    "targetFieldName": "withdrawCount",
    "conditionGrns": [
    ],
    "rate": 1.0
}

バフの適用条件モデル

Gs2Money2:Wallet

ウォレット

マスターデータ記述例
"conditionGrns": [
    {
        "targetModelName": "Gs2Money2:Wallet",
        "targetGrn": "grn:gs2:{region}:{ownerId}:money2:{namespaceName}:user:{userId}:wallet:{slot}"
    }
]