UpdateGuildInfo
public BackndReturnObject UpdateGuildInfo(Param param, bool setBlockDuringLeaderboardUpdateTime);
Parameter
Value | Type | Description |
---|---|---|
param | Param | Metadata to be created/modified for the guild |
setBlockDuringLeaderboardUpdateTime | bool | When utilizing guild rankings using metadata, true |
Description
Changes the guild's metadata. The guild name cannot be changed.
Example
Synchronous
Param param = new Param();
param.Add("buf",2);
Backnd.Guild.UpdateGuildInfo(param, true);
Asynchronous
Param param = new Param();
param.Add("buf",2);
Backnd.Guild.UpdateGuildInfo(param, true, (callback) =>
{
// Post-process
});
Return cases
Success cases
When the change is successful
statusCode : 204
Error cases
When there is an attempt to modify the guild name
statusCode : 400
errorCode : BadParameterException
When a member who has not joined the guild makes an attempt
statusCode : 412
errorCode : PreconditionFailed