Skip to main content

Search Join Requests

Searches guild join request information.

Call Information

public void PersonalSearch (string tableCode, PlayNANOODelegate callback) {}

Call Details

ParameterDescriptionType
tableCodeTable codestring
callbackCommunication resultPlayNANOODelegate

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 KeyDescriptionType
TableCodeTable codestring
UidGuild unique identifier codestring
NameGuild namestring
CountryGuild country codestring
PointGuild pointsinteger
MemberCountNumber of membersinteger
MemberLimitMaximum number of members allowedinteger
AutoJoinAuto-join availabilitystring
ExtraDataAdditional datastring
InDateGuild creation datestring
RequestInDateGuild join request datestring