Skip to main content
Version: 5.11.6

ModifyGuildV4

public BackendReturnObject ModifyGuildV4(Param param);

Note

This method only allows metadata to be changed outside the period of 4-5 am daily to prevent ranking settlement errors.
If rankings using metadata is not included, please use ModifyGuildV3, which does not have such restrictions.

Parameter

ValueTypeDescription
paramParamMetadata to be created/modified for the guild

Description

Changes the guild's metadata. The guild name cannot be changed.
Making changes between 4 - 5 am is unavailable, and requesting a change will return a 428 error.
It is used in the same way as ModifyGuildV3.
When this method is called while updating rankings using metadata, the ranking settlement process may fail with a low probability. Therefore, it is recommended to migrate to the corresponding method to restrict updates during settlement time.

Example

Synchronous

Param param = new Param();
param.Add("buf",2);

Backend.Guild.ModifyGuildV4(param);

Asynchronous

Param param = new Param();
param.Add("buf",2);

Backend.Guild.ModifyGuildV4(param, (callback) =>
{
// Post-process
});

SendQueue

Param param = new Param();
param.Add("buf",2);

SendQueue.Enqueue(Backend.Guild.ModifyGuildV4, param, (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

When called between 4 - 5 am
statusCode : 428
errorCode : Precondition Required