Query Membership Request
Searches for players requesting to join the guild.
Call Information
public void MemberSearch (string tableCode, string uid, PlayNANOODelegate callback) {}
Call Information Details
Parameter | Description | Type |
---|---|---|
tableCode | Table Code | string |
uid | Guild's unique identifier | string |
callback | Communication result | PlayNANOODelegate |
Source Code
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Awake()
{
plugin = Plugin.GetInstance();
plugin.Guild.MemberRequest("tableCode", "uid", (status, error, jsonString, values) => {
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
foreach (Dictionary<string, object> value in (ArrayList)values["Items"])
{
Debug.Log(value["Uuid"]);
Debug.Log(value["Nickname"]);
Debug.Log(value["ExtraData"]);
Debug.Log(value["LastLoginDate"]);
Debug.Log(value["InDate"]);
}
}
else
{
Debug.Log("Fail");
}
});
}
}
Communication Result
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Items" : [
{
"Uuid" : "string",
"Nickname" : "string",
"ExtraData" : "string",
"LastLoginDate" : "string",
"InDate" : "string"
}
]
}
Communication Result Details
Data Key | Description | Type |
---|---|---|
Uuid | Player's unique ID | string |
Nickname | Player's nickname | string |
ExtraData | Additional data | string |
LastLoginDate | Last login date | string |
InDate | Guild join date | string |