Skip to main content
Version: SDK-6.0.0

UpdateGuildInfo

public BackndReturnObject UpdateGuildInfo(Param param, bool setBlockDuringLeaderboardUpdateTime);

Parameter

ValueTypeDescription
paramParamMetadata to be created/modified for the guild
setBlockDuringLeaderboardUpdateTimeboolWhen 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
message : Success

Error cases

When there is an attempt to modify the guild name
statusCode : 400
errorCode : BadParameterException
message : bad guildName, Invalid guildName

When a member who has not joined the guild makes an attempt
statusCode : 412
errorCode : PreconditionFailed
message : subscribed guild prerequisites are not met.