Change Guild Master
Changes guild master.
Call Information
public void MemberChangeMaster (string tableCode, string uid, string uuid, PlayNANOODelegate callback) {}
Call Information Details
Parameter | Description | Type |
---|---|---|
tableCode | Table Code | string |
uid | Guild's unique identifier | string |
uuid | Player's unique ID | string |
grade | Grade code 1 : General 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");
}
});
}
}
Communication Result
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status" : "string"
}
Communication Result Details
Data Key | Description | Type |
---|---|---|
Status | Operation result | string |