Trigger Reference of GS2-Datastore Script
doneUpload
Event trigger to call GS2-Script before reporting upload completion.
Request
Type | Description | |
---|
namespace | Namespace | Namespace |
dataObject | DataObject | Data object |
objectUrl | string | URL of the uploaded object |
Result
Type | Require | Default | Limitation | Description | |
---|
permit | bool | ✓ | | | Allow upload completion report |
Implementation Example
namespace = args.namespace
dataObject = args.dataObject
objectUrl = args.objectUrl
result = {
permit=permit
}
doneUploadDone
GS2-Script called after reporting upload completion.
Request
Type | Description | |
---|
namespace | Namespace | Namespace |
dataObject | DataObject | Data object |
Result
Type | Require | Default | Limitation | Description | |
---|
Implementation Example
namespace = args.namespace
dataObject = args.dataObject
result = {
}