Terminate Guild
Terminates guild.
Call Information
public void Delete (string tableCode, string uid, PlayNANOODelegate callback) {}
Call Information Details
Parameter | Description | Type |
---|---|---|
tableCode | Table Code | string |
uid | Guild unique identifier | string |
callback | Communication result | PlayNANOODelegate |
Source Code
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Awake()
{
plugin = Plugin.GetInstance();
plugin.Guild.Delete("tableCode", "uid", (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"
}