SetRegistrationValueV3
public BackendReturnObject SetRegistrationValueV3(bool immediateFlag);
Parameter
Value | Type | Description |
---|---|---|
immediateFlag | bool | Whether to allow immediate join(true - quick join, false - join on approval) |
Description
Sets whether to allow quick join when players attempt to join the guild.
When you set the quick join status via SetRegistrationValueV3, the _immediateRegistration key is added to the metadata of the guild.
The value is stored as true or false.
Caution
Example
Synchronous
Backend.Guild.SetRegistrationValueV3(true); // Quick join settings
Asynchronous
Backend.Guild.SetRegistrationValueV3(true, (callback) => // Quick join settings
{
// Post-process
});
SendQueue
SendQueue.Enqueue(Backend.Guild.SetRegistrationValueV3, true, (callback) => // Quick join settings
{
// Post-process
});
Return cases
Success cases
When the change is successful
statusCode : 204
Error cases
When a guild member who is not the master calls the method
statusCode : 403
errorCode : ForbiddenException
When a player not joined to the guild calls the method
statusCode : 404
errorCode : NotFoundException