Trigger Reference of GS2-Stamina Script

Reference for event triggers that call extended scripts, as defined in GS2-Stamina

overflow

Event trigger to call GS2-Script when GS2-Script executed when stamina exceeds the overflow maximum.

Request

TypeDescription
namespaceNamespaceNamespace
staminaModelStaminaModelStamina Model
staminaStaminaStamina
overflowValuelongOverflow value

Result

TypeRequireDefaultLimitationDescription

Implementation Example

namespace = args.namespace
staminaModel = args.staminaModel
stamina = args.stamina
overflowValue = args.overflowValue

result = {
}