Trigger Reference of GS2-Matchmaking Script
createGathering
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 | |
|---|
Implementation Example
namespace = args.namespace
gathering = args.gathering
result = {
}
completeMatchmaking
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 | |
|---|
Implementation Example
namespace = args.namespace
gathering = args.gathering
result = {
}
changeRating
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 |
Implementation Example
namespace = args.namespace
oldRating = args.oldRating
newRating = args.newRating
result = {
permit=permit
}
changeRatingDone
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 | |
|---|
Implementation Example
namespace = args.namespace
oldRating = args.oldRating
newRating = args.newRating
result = {
}