Skip to main content

Search Member Join Requests

Searches for players who have requested to join the guild.

Call Information

public void MemberSearch (string tableCode, string uid, PlayNANOODelegate callback) {}

Call Details

ParameterDescriptionType
tableCodeTable codestring
uidGuild unique identifier IDstring
callbackCommunication resultPlayNANOODelegate

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");
}
});
}
}

Response

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Items" : [
{
"Uuid" : "string",
"Nickname" : "string",
"ExtraData" : "string",
"LastLoginDate" : "string",
"InDate" : "string"
}
]
}

Response Details

Data KeyDescriptionType
UuidPlayer unique identifier IDstring
NicknamePlayer nicknamestring
ExtraDataAdditional datastring
LastLoginDateLast login datestring
InDateGuild join datestring