Query Join Request
Queries guild join requests.
Queries information on guild membership applications.
Call Information
public void PersonalSearch (string tableCode, PlayNANOODelegate callback) {}
Call Information 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");
}
});
}
}
Communication Result
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"
}
]
}
Communication Result Details
Data Key | Description | Type |
---|---|---|
TableCode | Table Code | string |
Uid | Unique guild identifier | string |
name | Guild name | string |
Country | Guild country code | string |
Point | Unique points | integer |
MemberCount | Number of members | integer |
MemberLimit | Max number of members that can join | integer |
AutoJoin | Auto-join status | string |
ExtraData | Additional data | string |
InDate | Guild join date | string |
RequestInDate | Join request date | string |