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
| Parameter | Description | Type |
|---|---|---|
| tableCode | Table code | string |
| uid | Guild unique identifier ID | 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");
}
});
}
}
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 Key | Description | Type |
|---|---|---|
| Uuid | Player unique identifier ID | string |
| Nickname | Player nickname | string |
| ExtraData | Additional data | string |
| LastLoginDate | Last login date | string |
| InDate | Guild join date | string |