Server Party API Reference
Party is a service for creating an instant team for players. The player can use it to build a "temporary virtual team" and then fire a battle.
API List
| API | Description |
|---|---|
| BatchGetPlayerCurrentPartyIds | BGet the current party ids of players, if a player is not in any party currently, the corresponding party id is empty string |
| GetPartyInfo | Get party info by party id |
API Details
BatchGetPlayerCurrentPartyIds
BGet the current party ids of players, if a player is not in any party currently, the corresponding party id is empty string
/// <summary>BGet the current party ids of players, if a player is not in any party currently, the corresponding party id is empty string</summary>
public void BatchGetPlayerCurrentPartyIds(BatchGetPlayerCurrentPartyIdsParams pgos_params, PartyDelegate0 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| pgos_params | BatchGetPlayerCurrentPartyIdsParams | |
| callback | PartyDelegate0 |
Return: void
GetPartyInfo
Get party info by party id
/// <summary>Get party info by party id</summary>
public void GetPartyInfo(GetPartyInfoParams pgos_params, PartyDelegate1 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| pgos_params | GetPartyInfoParams | |
| callback | PartyDelegate1 |
Return: void
All Delegates
public delegate void PartyDelegate0(PgosResult a0, BatchGetPlayerCurrentPartyIdsResult a1);
public delegate void PartyDelegate1(PgosResult a0, GetPartyInfoResult a1);
Type Reference: