Skip to main content

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

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

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 KeyDescriptionType
TableCodeTable Codestring
UidUnique guild identifierstring
nameGuild namestring
CountryGuild country codestring
PointUnique pointsinteger
MemberCountNumber of membersinteger
MemberLimitMax number of members that can joininteger
AutoJoinAuto-join statusstring
ExtraDataAdditional datastring
InDateGuild join datestring
RequestInDateJoin request datestring