Change Guild Master
Changes the guild master.
Call Information
public void MemberChangeMaster (string tableCode, string uid, string uuid, PlayNANOODelegate callback) {}
Call Details
| Parameter | Description | Type |
|---|---|---|
| tableCode | Table code | string |
| uid | Guild unique identifier ID | string |
| uuid | Player identifier ID | string |
| grade | Grade code 1 : Regular member 98 : Administrator | integer |
| callback | Communication result | PlayNANOODelegate |
Source Code
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Awake()
{
plugin = Plugin.GetInstance();
plugin.Guild.MemberChangeMaster("tableCode", "uid", "uuid", (status, error, jsonString, values) => {
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
Debug.Log(values["Status"].ToString());
}
else
{
Debug.Log("Fail");
}
});
}
}
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status" : "string"
}
Response Details
| Data Key | Description | Type |
|---|---|---|
| Status | Processing result | string |