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
| Type | Description | |
|---|---|---|
| namespace | Namespace | Namespace |
| staminaModel | StaminaModel | Stamina Model |
| stamina | Stamina | Stamina |
| overflowValue | long | Overflow value |
Result
| Type | Required | Default | Value Limits | Description |
|---|
Implementation Example
namespace = args.namespace
staminaModel = args.staminaModel
stamina = args.stamina
overflowValue = args.overflowValue
result = {
}