GS2-Matchmaking
Reference for event triggers that call GS2-Script
GS2-Script Reference
Trigger
createGathering
createGathering
namespace = args.namespace
gathering = args.gathering
result = {
}
Event trigger to call GS2-Script when creating a new gathering.
Request
Type | Description | |
---|---|---|
namespace | Namespace | Namespace |
gathering | Gathering | Gathering |
Result
Type | Require | Default | Limitation | Description |
---|
completeMatchmaking
completeMatchmaking
namespace = args.namespace
gathering = args.gathering
result = {
}
Event trigger to call GS2-Script when matchmaking is complete.
Request
Type | Description | |
---|---|---|
namespace | Namespace | Namespace |
gathering | Gathering | Gathering |
Result
Type | Require | Default | Limitation | Description |
---|
changeRating
changeRating
namespace = args.namespace
oldRating = args.oldRating
newRating = args.newRating
result = {
permit=permit
}
Event trigger to call GS2-Script before Rating Value Change.
Request
Type | Description | |
---|---|---|
namespace | Namespace | Namespace |
oldRating | Rating | Old Rating |
newRating | Rating | New Rating |
Result
Type | Require | Default | Limitation | Description | |
---|---|---|---|---|---|
permit | bool | ✓ | Allow item acquisition |
changeRatingDone
changeRatingDone
namespace = args.namespace
oldRating = args.oldRating
newRating = args.newRating
result = {
}
GS2-Script called after Rating Value Change.
Request
Type | Description | |
---|---|---|
namespace | Namespace | Namespace |
oldRating | Rating | Old Rating |
newRating | Rating | New Rating |
Result
Type | Require | Default | Limitation | Description |
---|