Search Join Requests
Searches guild join request information.
Call Information
public void PersonalSearch (string tableCode, PlayNANOODelegate callback) {}
Call Details
| Parameter | Description | Type |
|---|---|---|
| tableCode | Table code | string |
| callback | Communication result | PlayNANOODelegate |
Source Code
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Awake()
{
plugin = Plugin.GetInstance();
plugin.Guild.PersonalSearch("tableCode", (status, error, jsonString, values) =>
{
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
foreach (Dictionary<string, object> value in (ArrayList)values["Items"])
{
Debug.Log(value["TableCode"]);
Debug.Log(value["Uid"]);
Debug.Log(value["Name"]);
Debug.Log(value["Country"]);
Debug.Log(value["Point"]);
Debug.Log(value["MemberCount"]);
Debug.Log(value["MemberLimit"]);
Debug.Log(value["AutoJoin"]);
Debug.Log(value["ExtraData"]);
Debug.Log(value["InDate"]);
Debug.Log(value["RequestInDate"]);
}
}
else
{
Debug.Log("Fail");
}
});
}
}
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Items" : [
{
"TableCode" : "string",
"Uid" : "string",
"Name" : "string",
"Country" : "string",
"Point" : "integer",
"MemberCount" : "integer",
"MemberLimit" : "integer",
"AutoAuth" : "string",
"InDate" : "string",
"RequestInDate" : "string"
}
]
}
Response Details
| Data Key | Description | Type |
|---|---|---|
| TableCode | Table code | string |
| Uid | Guild unique identifier code | string |
| Name | Guild name | string |
| Country | Guild country code | string |
| Point | Guild points | integer |
| MemberCount | Number of members | integer |
| MemberLimit | Maximum number of members allowed | integer |
| AutoJoin | Auto-join availability | string |
| ExtraData | Additional data | string |
| InDate | Guild creation date | string |
| RequestInDate | Guild join request date | string |