Script Trigger Reference of GS2-Stamina

Reference of event triggers that call extended scripts

Trigger

overflow

Stamina maximum value overflow

Synchronous Execution Script

The script is executed synchronously before the stamina maximum value overflow process.

Request
TypeDescription
namespaceNamespaceNamespace
staminaModelStaminaModelStamina Model
staminaStaminaStamina
overflowValuelongOverflow value
Result
TypeRequiredDefaultValue LimitsDescription
Implementation Example
namespace = args.namespace
staminaModel = args.staminaModel
stamina = args.stamina
overflowValue = args.overflowValue

result = {
}