import { Action1 } from "./common/Action1"; import { GNHashtable } from "./common/GNData"; import { GamePlayerModels } from "./entity/models/GamePlayerModels"; import { GamePlayerResponseModels } from "./entity/models/GamePlayerResponseModels"; /** * Public client-scoped namespace for the GamePlayer domain. * * Reachable through {@link GNNetwork.gamePlayer} after * {@link GNNetwork.init}. Manages the **account-level** player * record — the per-game profile that sits between the master * player ({@link GNNetwork.masterPlayer}) and any * per-character profile ({@link GNNetwork.characterPlayer}). * * The methods on this class are organised into the following * functional groups (matching the {@link OperationCode} * grouping): * * 1. **Identity & profile** — `getDisplayName`, `setDisplayName`, * `getAvatar`, `setAvatar`, `getCountryCode`, * `getIpAddressCreate`, `getTsCreate`, `getTsLastLogin`, * `getOnlineStatus`, `getPlayerInformation`, * `getPlayerBan`, `getPlayersWithDisplayName`. * 2. **Custom data / tags / segments** — `getCustomData`, * `setCustomData`, `getTag`, `setTag`, `getSegment`, * `addSegment`, `removeSegment`, `getPlayersWithSegment`, * `getPlayersWithTag`, `getPlayerData`, `setPlayerData`. * 3. **Currencies** — `getPlayerCurrency`, * `setPlayerCurrency`, `addPlayerCurrency`, * `subtractPlayerCurrency`. * 4. **Statistics & leaderboards** — `getPlayerStatistics`, * `setPlayerStatistics`, `addPlayerStatistics`, * `getStatisticsLeaderboard`, * `getStatisticsLeaderboardAroundPlayer`, * `getFriendStatisticsLeaderboard`, * `getFriendStatisticsLeaderboardAroundPlayer`. * 5. **Friends (account-level social graph)** — * `getPlayerFriend`, `addPlayerFriend`, * `acceptPlayerFriend`, `rejectPlayerFriend`, * `removePlayerFriend`, * `removePlayerFriendRequestSent`, `getOtherPlayerFriend`. * Real-time updates arrive through * {@link OnGamePlayerFriendUpdateEventHandler}. * 6. **Groups (account-level group membership)** — * `getPlayerGroup`, `createGroup`, `acceptGroupMember`, * `rejectGroupMember`, `removeGroupMember`, `leaveGroup`, * `addGroupMember` (invitation), `removeGroupMember`, * `cancelInviteGroupMember`. Real-time updates arrive * through {@link OnGamePlayerGroupUpdateEventHandler}. * 7. **Inventory & characters (lookups)** — * `getPlayerInventory`, `getPlayerCharacter`. Mutations live * on `GNNetwork.inventory` and * `GNNetwork.characterPlayer` respectively. * 8. **Push-notification registration** — methods that bind a * device push token (FCM / APNS) to the master player record. * * Common contract for every method on this class: * - Routes through HTTP using {@link RequestType.GamePlayer} and * {@link RequestRole.Client}. Each method's operation code * matches the same name in {@link OperationCode}. * - The standard parameter set * (`overrideAuthToken`, `overrideSecretKey`, `customTags`, * `timeout`) is documented on {@link GNNetwork.sendViaHttp}. * - Both callback (`name(...)`) and Promise (`nameAsync(...)`) * variants are exposed; both resolve / always-resolve, and * transport / domain failures surface through * `response.hasReturnCodeError()` and `response.errorCode`. * * The companion {@link ServerGamePlayerApi} and * {@link AdminGamePlayerApi} sub-namespaces expose the same * operations but with `Server*` / `Admin*` request DTO variants * — those accept additional `userId` parameters so a trusted * backend or dashboard can act on behalf of any player. */ export declare class GamePlayerApi { /** Server-scoped game-player operations for trusted backend callers. */ server: ServerGamePlayerApi; /** Admin-scoped game-player operations for dashboard, GM, or backoffice callers. */ admin: AdminGamePlayerApi; /** * Sends the addPlayerFriend operation and returns the typed response via callback. */ addPlayerFriend(requestData: GamePlayerModels.AddPlayerFriendRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the addPlayerFriend operation and resolves with the typed response. */ addPlayerFriendAsync(requestData: GamePlayerModels.AddPlayerFriendRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the addSegment operation and returns the typed response via callback. */ addSegment(requestData: GamePlayerModels.AddSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the addSegment operation and resolves with the typed response. */ addSegmentAsync(requestData: GamePlayerModels.AddSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getAvatar operation and returns the typed response via callback. */ getAvatar(requestData: GamePlayerModels.GetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getAvatar operation and resolves with the typed response. */ getAvatarAsync(requestData: GamePlayerModels.GetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCountryCode operation and returns the typed response via callback. */ getCountryCode(requestData: GamePlayerModels.GetCountryCodeRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCountryCode operation and resolves with the typed response. */ getCountryCodeAsync(requestData: GamePlayerModels.GetCountryCodeRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCustomData operation and returns the typed response via callback. */ getCustomData(requestData: GamePlayerModels.GetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCustomData operation and resolves with the typed response. */ getCustomDataAsync(requestData: GamePlayerModels.GetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getDisplayName operation and returns the typed response via callback. */ getDisplayName(requestData: GamePlayerModels.GetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getDisplayName operation and resolves with the typed response. */ getDisplayNameAsync(requestData: GamePlayerModels.GetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getFriendStatisticsLeaderboardAroundPlayer operation and returns the typed response via callback. */ getFriendStatisticsLeaderboardAroundPlayer(requestData: GamePlayerModels.GetFriendStatisticsLeaderboardAroundPlayerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getFriendStatisticsLeaderboardAroundPlayer operation and resolves with the typed response. */ getFriendStatisticsLeaderboardAroundPlayerAsync(requestData: GamePlayerModels.GetFriendStatisticsLeaderboardAroundPlayerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getFriendStatisticsLeaderboard operation and returns the typed response via callback. */ getFriendStatisticsLeaderboard(requestData: GamePlayerModels.GetFriendStatisticsLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getFriendStatisticsLeaderboard operation and resolves with the typed response. */ getFriendStatisticsLeaderboardAsync(requestData: GamePlayerModels.GetFriendStatisticsLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getIpAddressCreate operation and returns the typed response via callback. */ getIpAddressCreate(requestData: GamePlayerModels.GetIpAddressCreateRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getIpAddressCreate operation and resolves with the typed response. */ getIpAddressCreateAsync(requestData: GamePlayerModels.GetIpAddressCreateRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getOnlineStatus operation and returns the typed response via callback. */ getOnlineStatus(requestData: GamePlayerModels.GetOnlineStatusRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getOnlineStatus operation and resolves with the typed response. */ getOnlineStatusAsync(requestData: GamePlayerModels.GetOnlineStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerBan operation and returns the typed response via callback. */ getPlayerBan(requestData: GamePlayerModels.GetPlayerBanRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerBan operation and resolves with the typed response. */ getPlayerBanAsync(requestData: GamePlayerModels.GetPlayerBanRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerCharacter operation and returns the typed response via callback. */ getPlayerCharacter(requestData: GamePlayerModels.GetPlayerCharacterRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerCharacter operation and resolves with the typed response. */ getPlayerCharacterAsync(requestData: GamePlayerModels.GetPlayerCharacterRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerCurrency operation and returns the typed response via callback. */ getPlayerCurrency(requestData: GamePlayerModels.GetPlayerCurrencyRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerCurrency operation and resolves with the typed response. */ getPlayerCurrencyAsync(requestData: GamePlayerModels.GetPlayerCurrencyRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerData operation and returns the typed response via callback. */ getPlayerData(requestData: GamePlayerModels.GetPlayerDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerData operation and resolves with the typed response. */ getPlayerDataAsync(requestData: GamePlayerModels.GetPlayerDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerFriend operation and returns the typed response via callback. */ getPlayerFriend(requestData: GamePlayerModels.GetPlayerFriendRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerFriend operation and resolves with the typed response. */ getPlayerFriendAsync(requestData: GamePlayerModels.GetPlayerFriendRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerGroup operation and returns the typed response via callback. */ getPlayerGroup(requestData: GamePlayerModels.GetPlayerGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerGroup operation and resolves with the typed response. */ getPlayerGroupAsync(requestData: GamePlayerModels.GetPlayerGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerInformation operation and returns the typed response via callback. */ getPlayerInformation(requestData: GamePlayerModels.GetPlayerInformationRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerInformation operation and resolves with the typed response. */ getPlayerInformationAsync(requestData: GamePlayerModels.GetPlayerInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerInventory operation and returns the typed response via callback. */ getPlayerInventory(requestData: GamePlayerModels.GetPlayerInventoryRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerInventory operation and resolves with the typed response. */ getPlayerInventoryAsync(requestData: GamePlayerModels.GetPlayerInventoryRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerStatistics operation and returns the typed response via callback. */ getPlayerStatistics(requestData: GamePlayerModels.GetPlayerStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerStatistics operation and resolves with the typed response. */ getPlayerStatisticsAsync(requestData: GamePlayerModels.GetPlayerStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayersWithDisplayName operation and returns the typed response via callback. */ getPlayersWithDisplayName(requestData: GamePlayerModels.GetPlayersWithDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayersWithDisplayName operation and resolves with the typed response. */ getPlayersWithDisplayNameAsync(requestData: GamePlayerModels.GetPlayersWithDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayersWithSegment operation and returns the typed response via callback. */ getPlayersWithSegment(requestData: GamePlayerModels.GetPlayersWithSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayersWithSegment operation and resolves with the typed response. */ getPlayersWithSegmentAsync(requestData: GamePlayerModels.GetPlayersWithSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayersWithTag operation and returns the typed response via callback. */ getPlayersWithTag(requestData: GamePlayerModels.GetPlayersWithTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayersWithTag operation and resolves with the typed response. */ getPlayersWithTagAsync(requestData: GamePlayerModels.GetPlayersWithTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getSegment operation and returns the typed response via callback. */ getSegment(requestData: GamePlayerModels.GetSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getSegment operation and resolves with the typed response. */ getSegmentAsync(requestData: GamePlayerModels.GetSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboardAroundPlayer operation and returns the typed response via callback. */ getStatisticsLeaderboardAroundPlayer(requestData: GamePlayerModels.GetStatisticsLeaderboardAroundPlayerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboardAroundPlayer operation and resolves with the typed response. */ getStatisticsLeaderboardAroundPlayerAsync(requestData: GamePlayerModels.GetStatisticsLeaderboardAroundPlayerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboard operation and returns the typed response via callback. */ getStatisticsLeaderboard(requestData: GamePlayerModels.GetStatisticsLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboard operation and resolves with the typed response. */ getStatisticsLeaderboardAsync(requestData: GamePlayerModels.GetStatisticsLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTag operation and returns the typed response via callback. */ getTag(requestData: GamePlayerModels.GetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTag operation and resolves with the typed response. */ getTagAsync(requestData: GamePlayerModels.GetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTsCreate operation and returns the typed response via callback. */ getTsCreate(requestData: GamePlayerModels.GetTsCreateRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTsCreate operation and resolves with the typed response. */ getTsCreateAsync(requestData: GamePlayerModels.GetTsCreateRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTsLastLogin operation and returns the typed response via callback. */ getTsLastLogin(requestData: GamePlayerModels.GetTsLastLoginRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTsLastLogin operation and resolves with the typed response. */ getTsLastLoginAsync(requestData: GamePlayerModels.GetTsLastLoginRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the createGroup operation and returns the typed response via callback. */ createGroup(requestData: GamePlayerModels.CreateGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the createGroup operation and resolves with the typed response. */ createGroupAsync(requestData: GamePlayerModels.CreateGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the createPlayerCharacter operation and returns the typed response via callback. */ createPlayerCharacter(requestData: GamePlayerModels.CreatePlayerCharacterRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the createPlayerCharacter operation and resolves with the typed response. */ createPlayerCharacterAsync(requestData: GamePlayerModels.CreatePlayerCharacterRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the createPlayerItem operation and returns the typed response via callback. */ createPlayerItem(requestData: GamePlayerModels.CreatePlayerItemRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the createPlayerItem operation and resolves with the typed response. */ createPlayerItemAsync(requestData: GamePlayerModels.CreatePlayerItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the joinGroup operation and returns the typed response via callback. */ joinGroup(requestData: GamePlayerModels.JoinGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the joinGroup operation and resolves with the typed response. */ joinGroupAsync(requestData: GamePlayerModels.JoinGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the leaveGroup operation and returns the typed response via callback. */ leaveGroup(requestData: GamePlayerModels.LeaveGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the leaveGroup operation and resolves with the typed response. */ leaveGroupAsync(requestData: GamePlayerModels.LeaveGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removePlayerCharacter operation and returns the typed response via callback. */ removePlayerCharacter(requestData: GamePlayerModels.RemovePlayerCharacterRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removePlayerCharacter operation and resolves with the typed response. */ removePlayerCharacterAsync(requestData: GamePlayerModels.RemovePlayerCharacterRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removePlayerFriend operation and returns the typed response via callback. */ removePlayerFriend(requestData: GamePlayerModels.RemovePlayerFriendRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removePlayerFriend operation and resolves with the typed response. */ removePlayerFriendAsync(requestData: GamePlayerModels.RemovePlayerFriendRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removePlayerItem operation and returns the typed response via callback. */ removePlayerItem(requestData: GamePlayerModels.RemovePlayerItemRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removePlayerItem operation and resolves with the typed response. */ removePlayerItemAsync(requestData: GamePlayerModels.RemovePlayerItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeSegment operation and returns the typed response via callback. */ removeSegment(requestData: GamePlayerModels.RemoveSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeSegment operation and resolves with the typed response. */ removeSegmentAsync(requestData: GamePlayerModels.RemoveSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeTag operation and returns the typed response via callback. */ removeTag(requestData: GamePlayerModels.RemoveTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeTag operation and resolves with the typed response. */ removeTagAsync(requestData: GamePlayerModels.RemoveTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setAvatar operation and returns the typed response via callback. */ setAvatar(requestData: GamePlayerModels.SetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setAvatar operation and resolves with the typed response. */ setAvatarAsync(requestData: GamePlayerModels.SetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setCountryCode operation and returns the typed response via callback. */ setCountryCode(requestData: GamePlayerModels.SetCountryCodeRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setCountryCode operation and resolves with the typed response. */ setCountryCodeAsync(requestData: GamePlayerModels.SetCountryCodeRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setCustomData operation and returns the typed response via callback. */ setCustomData(requestData: GamePlayerModels.SetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setCustomData operation and resolves with the typed response. */ setCustomDataAsync(requestData: GamePlayerModels.SetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setDisplayName operation and returns the typed response via callback. */ setDisplayName(requestData: GamePlayerModels.SetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setDisplayName operation and resolves with the typed response. */ setDisplayNameAsync(requestData: GamePlayerModels.SetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setPlayerBan operation and returns the typed response via callback. */ setPlayerBan(requestData: GamePlayerModels.SetPlayerBanRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setPlayerBan operation and resolves with the typed response. */ setPlayerBanAsync(requestData: GamePlayerModels.SetPlayerBanRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the changePlayerCurrency operation and returns the typed response via callback. */ changePlayerCurrency(requestData: GamePlayerModels.ChangePlayerCurrencyRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the changePlayerCurrency operation and resolves with the typed response. */ changePlayerCurrencyAsync(requestData: GamePlayerModels.ChangePlayerCurrencyRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setPlayerData operation and returns the typed response via callback. */ setPlayerData(requestData: GamePlayerModels.SetPlayerDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setPlayerData operation and resolves with the typed response. */ setPlayerDataAsync(requestData: GamePlayerModels.SetPlayerDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the changePlayerStatistics operation and returns the typed response via callback. */ changePlayerStatistics(requestData: GamePlayerModels.ChangePlayerStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the changePlayerStatistics operation and resolves with the typed response. */ changePlayerStatisticsAsync(requestData: GamePlayerModels.ChangePlayerStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setTag operation and returns the typed response via callback. */ setTag(requestData: GamePlayerModels.SetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setTag operation and resolves with the typed response. */ setTagAsync(requestData: GamePlayerModels.SetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCurrencyLeaderboard operation and returns the typed response via callback. */ getCurrencyLeaderboard(requestData: GamePlayerModels.GetCurrencyLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCurrencyLeaderboard operation and resolves with the typed response. */ getCurrencyLeaderboardAsync(requestData: GamePlayerModels.GetCurrencyLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getLastLoginLeaderboard operation and returns the typed response via callback. */ getLastLoginLeaderboard(requestData: GamePlayerModels.GetLastLoginLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getLastLoginLeaderboard operation and resolves with the typed response. */ getLastLoginLeaderboardAsync(requestData: GamePlayerModels.GetLastLoginLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCreateLeaderboard operation and returns the typed response via callback. */ getCreateLeaderboard(requestData: GamePlayerModels.GetCreateLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCreateLeaderboard operation and resolves with the typed response. */ getCreateLeaderboardAsync(requestData: GamePlayerModels.GetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLog operation and returns the typed response via callback. */ getStatisticsLog(requestData: GamePlayerModels.GetStatisticsLogRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLog operation and resolves with the typed response. */ getStatisticsLogAsync(requestData: GamePlayerModels.GetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCurrencyLog operation and returns the typed response via callback. */ getCurrencyLog(requestData: GamePlayerModels.GetCurrencyLogRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCurrencyLog operation and resolves with the typed response. */ getCurrencyLogAsync(requestData: GamePlayerModels.GetCurrencyLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; } /** * Server-scoped GamePlayer namespace, reachable through * `GNNetwork.gamePlayer.server`. * * Mirrors every method on {@link GamePlayerApi} but uses the * `Server*RequestData` DTO variants. The server flavour accepts * additional `userId` (and sometimes `gameId`) parameters so a * trusted backend can act on behalf of any player without * holding their auth token. * * Always pass a valid server-side `secretKey` (typically through * {@link GNServerSettings.setSecretKey} or `overrideSecretKey`) * so the backend can authorise the request. */ export declare class ServerGamePlayerApi { /** * Sends the addPlayerFriend operation and returns the typed response via callback. */ addPlayerFriend(requestData: GamePlayerModels.ServerAddPlayerFriendRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the addPlayerFriend operation and resolves with the typed response. */ addPlayerFriendAsync(requestData: GamePlayerModels.ServerAddPlayerFriendRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the addSegment operation and returns the typed response via callback. */ addSegment(requestData: GamePlayerModels.ServerAddSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the addSegment operation and resolves with the typed response. */ addSegmentAsync(requestData: GamePlayerModels.ServerAddSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getAvatar operation and returns the typed response via callback. */ getAvatar(requestData: GamePlayerModels.ServerGetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getAvatar operation and resolves with the typed response. */ getAvatarAsync(requestData: GamePlayerModels.ServerGetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCountryCode operation and returns the typed response via callback. */ getCountryCode(requestData: GamePlayerModels.ServerGetCountryCodeRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCountryCode operation and resolves with the typed response. */ getCountryCodeAsync(requestData: GamePlayerModels.ServerGetCountryCodeRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCustomData operation and returns the typed response via callback. */ getCustomData(requestData: GamePlayerModels.ServerGetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCustomData operation and resolves with the typed response. */ getCustomDataAsync(requestData: GamePlayerModels.ServerGetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getDisplayName operation and returns the typed response via callback. */ getDisplayName(requestData: GamePlayerModels.ServerGetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getDisplayName operation and resolves with the typed response. */ getDisplayNameAsync(requestData: GamePlayerModels.ServerGetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getFriendStatisticsLeaderboardAroundPlayer operation and returns the typed response via callback. */ getFriendStatisticsLeaderboardAroundPlayer(requestData: GamePlayerModels.ServerGetFriendStatisticsLeaderboardAroundPlayerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getFriendStatisticsLeaderboardAroundPlayer operation and resolves with the typed response. */ getFriendStatisticsLeaderboardAroundPlayerAsync(requestData: GamePlayerModels.ServerGetFriendStatisticsLeaderboardAroundPlayerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getFriendStatisticsLeaderboard operation and returns the typed response via callback. */ getFriendStatisticsLeaderboard(requestData: GamePlayerModels.ServerGetFriendStatisticsLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getFriendStatisticsLeaderboard operation and resolves with the typed response. */ getFriendStatisticsLeaderboardAsync(requestData: GamePlayerModels.ServerGetFriendStatisticsLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getIpAddressCreate operation and returns the typed response via callback. */ getIpAddressCreate(requestData: GamePlayerModels.ServerGetIpAddressCreateRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getIpAddressCreate operation and resolves with the typed response. */ getIpAddressCreateAsync(requestData: GamePlayerModels.ServerGetIpAddressCreateRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getOnlineStatus operation and returns the typed response via callback. */ getOnlineStatus(requestData: GamePlayerModels.ServerGetOnlineStatusRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getOnlineStatus operation and resolves with the typed response. */ getOnlineStatusAsync(requestData: GamePlayerModels.ServerGetOnlineStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerBan operation and returns the typed response via callback. */ getPlayerBan(requestData: GamePlayerModels.ServerGetPlayerBanRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerBan operation and resolves with the typed response. */ getPlayerBanAsync(requestData: GamePlayerModels.ServerGetPlayerBanRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerCharacter operation and returns the typed response via callback. */ getPlayerCharacter(requestData: GamePlayerModels.ServerGetPlayerCharacterRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerCharacter operation and resolves with the typed response. */ getPlayerCharacterAsync(requestData: GamePlayerModels.ServerGetPlayerCharacterRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerCurrency operation and returns the typed response via callback. */ getPlayerCurrency(requestData: GamePlayerModels.ServerGetPlayerCurrencyRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerCurrency operation and resolves with the typed response. */ getPlayerCurrencyAsync(requestData: GamePlayerModels.ServerGetPlayerCurrencyRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerData operation and returns the typed response via callback. */ getPlayerData(requestData: GamePlayerModels.ServerGetPlayerDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerData operation and resolves with the typed response. */ getPlayerDataAsync(requestData: GamePlayerModels.ServerGetPlayerDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerFriend operation and returns the typed response via callback. */ getPlayerFriend(requestData: GamePlayerModels.ServerGetPlayerFriendRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerFriend operation and resolves with the typed response. */ getPlayerFriendAsync(requestData: GamePlayerModels.ServerGetPlayerFriendRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerGroup operation and returns the typed response via callback. */ getPlayerGroup(requestData: GamePlayerModels.ServerGetPlayerGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerGroup operation and resolves with the typed response. */ getPlayerGroupAsync(requestData: GamePlayerModels.ServerGetPlayerGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerInformation operation and returns the typed response via callback. */ getPlayerInformation(requestData: GamePlayerModels.ServerGetPlayerInformationRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerInformation operation and resolves with the typed response. */ getPlayerInformationAsync(requestData: GamePlayerModels.ServerGetPlayerInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerInventory operation and returns the typed response via callback. */ getPlayerInventory(requestData: GamePlayerModels.ServerGetPlayerInventoryRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerInventory operation and resolves with the typed response. */ getPlayerInventoryAsync(requestData: GamePlayerModels.ServerGetPlayerInventoryRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerStatistics operation and returns the typed response via callback. */ getPlayerStatistics(requestData: GamePlayerModels.ServerGetPlayerStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerStatistics operation and resolves with the typed response. */ getPlayerStatisticsAsync(requestData: GamePlayerModels.ServerGetPlayerStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayersWithDisplayName operation and returns the typed response via callback. */ getPlayersWithDisplayName(requestData: GamePlayerModels.ServerGetPlayersWithDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayersWithDisplayName operation and resolves with the typed response. */ getPlayersWithDisplayNameAsync(requestData: GamePlayerModels.ServerGetPlayersWithDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayersWithSegment operation and returns the typed response via callback. */ getPlayersWithSegment(requestData: GamePlayerModels.ServerGetPlayersWithSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayersWithSegment operation and resolves with the typed response. */ getPlayersWithSegmentAsync(requestData: GamePlayerModels.ServerGetPlayersWithSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayersWithTag operation and returns the typed response via callback. */ getPlayersWithTag(requestData: GamePlayerModels.ServerGetPlayersWithTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayersWithTag operation and resolves with the typed response. */ getPlayersWithTagAsync(requestData: GamePlayerModels.ServerGetPlayersWithTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getSegment operation and returns the typed response via callback. */ getSegment(requestData: GamePlayerModels.ServerGetSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getSegment operation and resolves with the typed response. */ getSegmentAsync(requestData: GamePlayerModels.ServerGetSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboardAroundPlayer operation and returns the typed response via callback. */ getStatisticsLeaderboardAroundPlayer(requestData: GamePlayerModels.ServerGetStatisticsLeaderboardAroundPlayerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboardAroundPlayer operation and resolves with the typed response. */ getStatisticsLeaderboardAroundPlayerAsync(requestData: GamePlayerModels.ServerGetStatisticsLeaderboardAroundPlayerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboard operation and returns the typed response via callback. */ getStatisticsLeaderboard(requestData: GamePlayerModels.ServerGetStatisticsLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboard operation and resolves with the typed response. */ getStatisticsLeaderboardAsync(requestData: GamePlayerModels.ServerGetStatisticsLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTag operation and returns the typed response via callback. */ getTag(requestData: GamePlayerModels.ServerGetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTag operation and resolves with the typed response. */ getTagAsync(requestData: GamePlayerModels.ServerGetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTsCreate operation and returns the typed response via callback. */ getTsCreate(requestData: GamePlayerModels.ServerGetTsCreateRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTsCreate operation and resolves with the typed response. */ getTsCreateAsync(requestData: GamePlayerModels.ServerGetTsCreateRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTsLastLogin operation and returns the typed response via callback. */ getTsLastLogin(requestData: GamePlayerModels.ServerGetTsLastLoginRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTsLastLogin operation and resolves with the typed response. */ getTsLastLoginAsync(requestData: GamePlayerModels.ServerGetTsLastLoginRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the createGroup operation and returns the typed response via callback. */ createGroup(requestData: GamePlayerModels.ServerCreateGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the createGroup operation and resolves with the typed response. */ createGroupAsync(requestData: GamePlayerModels.ServerCreateGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the createPlayerCharacter operation and returns the typed response via callback. */ createPlayerCharacter(requestData: GamePlayerModels.ServerCreatePlayerCharacterRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the createPlayerCharacter operation and resolves with the typed response. */ createPlayerCharacterAsync(requestData: GamePlayerModels.ServerCreatePlayerCharacterRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the createPlayerItem operation and returns the typed response via callback. */ createPlayerItem(requestData: GamePlayerModels.ServerCreatePlayerItemRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the createPlayerItem operation and resolves with the typed response. */ createPlayerItemAsync(requestData: GamePlayerModels.ServerCreatePlayerItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the joinGroup operation and returns the typed response via callback. */ joinGroup(requestData: GamePlayerModels.ServerJoinGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the joinGroup operation and resolves with the typed response. */ joinGroupAsync(requestData: GamePlayerModels.ServerJoinGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the leaveGroup operation and returns the typed response via callback. */ leaveGroup(requestData: GamePlayerModels.ServerLeaveGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the leaveGroup operation and resolves with the typed response. */ leaveGroupAsync(requestData: GamePlayerModels.ServerLeaveGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removePlayerCharacter operation and returns the typed response via callback. */ removePlayerCharacter(requestData: GamePlayerModels.ServerRemovePlayerCharacterRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removePlayerCharacter operation and resolves with the typed response. */ removePlayerCharacterAsync(requestData: GamePlayerModels.ServerRemovePlayerCharacterRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removePlayerFriend operation and returns the typed response via callback. */ removePlayerFriend(requestData: GamePlayerModels.ServerRemovePlayerFriendRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removePlayerFriend operation and resolves with the typed response. */ removePlayerFriendAsync(requestData: GamePlayerModels.ServerRemovePlayerFriendRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removePlayerItem operation and returns the typed response via callback. */ removePlayerItem(requestData: GamePlayerModels.ServerRemovePlayerItemRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removePlayerItem operation and resolves with the typed response. */ removePlayerItemAsync(requestData: GamePlayerModels.ServerRemovePlayerItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeSegment operation and returns the typed response via callback. */ removeSegment(requestData: GamePlayerModels.ServerRemoveSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeSegment operation and resolves with the typed response. */ removeSegmentAsync(requestData: GamePlayerModels.ServerRemoveSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeTag operation and returns the typed response via callback. */ removeTag(requestData: GamePlayerModels.ServerRemoveTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeTag operation and resolves with the typed response. */ removeTagAsync(requestData: GamePlayerModels.ServerRemoveTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setAvatar operation and returns the typed response via callback. */ setAvatar(requestData: GamePlayerModels.ServerSetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setAvatar operation and resolves with the typed response. */ setAvatarAsync(requestData: GamePlayerModels.ServerSetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setCountryCode operation and returns the typed response via callback. */ setCountryCode(requestData: GamePlayerModels.ServerSetCountryCodeRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setCountryCode operation and resolves with the typed response. */ setCountryCodeAsync(requestData: GamePlayerModels.ServerSetCountryCodeRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setCustomData operation and returns the typed response via callback. */ setCustomData(requestData: GamePlayerModels.ServerSetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setCustomData operation and resolves with the typed response. */ setCustomDataAsync(requestData: GamePlayerModels.ServerSetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setDisplayName operation and returns the typed response via callback. */ setDisplayName(requestData: GamePlayerModels.ServerSetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setDisplayName operation and resolves with the typed response. */ setDisplayNameAsync(requestData: GamePlayerModels.ServerSetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setPlayerBan operation and returns the typed response via callback. */ setPlayerBan(requestData: GamePlayerModels.ServerSetPlayerBanRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setPlayerBan operation and resolves with the typed response. */ setPlayerBanAsync(requestData: GamePlayerModels.ServerSetPlayerBanRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the changePlayerCurrency operation and returns the typed response via callback. */ changePlayerCurrency(requestData: GamePlayerModels.ServerChangePlayerCurrencyRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the changePlayerCurrency operation and resolves with the typed response. */ changePlayerCurrencyAsync(requestData: GamePlayerModels.ServerChangePlayerCurrencyRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setPlayerData operation and returns the typed response via callback. */ setPlayerData(requestData: GamePlayerModels.ServerSetPlayerDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setPlayerData operation and resolves with the typed response. */ setPlayerDataAsync(requestData: GamePlayerModels.ServerSetPlayerDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the changePlayerStatistics operation and returns the typed response via callback. */ changePlayerStatistics(requestData: GamePlayerModels.ServerChangePlayerStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the changePlayerStatistics operation and resolves with the typed response. */ changePlayerStatisticsAsync(requestData: GamePlayerModels.ServerChangePlayerStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setTag operation and returns the typed response via callback. */ setTag(requestData: GamePlayerModels.ServerSetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setTag operation and resolves with the typed response. */ setTagAsync(requestData: GamePlayerModels.ServerSetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCurrencyLeaderboard operation and returns the typed response via callback. */ getCurrencyLeaderboard(requestData: GamePlayerModels.ServerGetCurrencyLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCurrencyLeaderboard operation and resolves with the typed response. */ getCurrencyLeaderboardAsync(requestData: GamePlayerModels.ServerGetCurrencyLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCreateLeaderboard operation and returns the typed response via callback. */ getCreateLeaderboard(requestData: GamePlayerModels.ServerGetCreateLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getLastLoginLeaderboard operation and returns the typed response via callback. */ getLastLoginLeaderboard(requestData: GamePlayerModels.ServerGetLastLoginLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getLastLoginLeaderboard operation and resolves with the typed response. */ getLastLoginLeaderboardAsync(requestData: GamePlayerModels.ServerGetLastLoginLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCreateLeaderboard operation and resolves with the typed response. */ getCreateLeaderboardAsync(requestData: GamePlayerModels.ServerGetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLog operation and returns the typed response via callback. */ getStatisticsLog(requestData: GamePlayerModels.ServerGetStatisticsLogRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLog operation and resolves with the typed response. */ getStatisticsLogAsync(requestData: GamePlayerModels.ServerGetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCurrencyLog operation and returns the typed response via callback. */ getCurrencyLog(requestData: GamePlayerModels.ServerGetCurrencyLogRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCurrencyLog operation and resolves with the typed response. */ getCurrencyLogAsync(requestData: GamePlayerModels.ServerGetCurrencyLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; } /** * Admin-scoped GamePlayer namespace, reachable through * `GNNetwork.gamePlayer.admin`. * * Mirrors the same method set as {@link ServerGamePlayerApi} * but routed through {@link RequestRole.Admin}. The backend * uses the caller's admin auth token to authorise privileged * operations such as touching another tenant's player records, * granting / revoking bans, force-resetting profile fields, etc. * Most application code never needs this namespace — dashboard * / GM / backoffice tools are the primary consumers. */ export declare class AdminGamePlayerApi { /** * Sends the addPlayerFriend operation and returns the typed response via callback. */ addPlayerFriend(requestData: GamePlayerModels.AdminAddPlayerFriendRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the addPlayerFriend operation and resolves with the typed response. */ addPlayerFriendAsync(requestData: GamePlayerModels.AdminAddPlayerFriendRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the addSegment operation and returns the typed response via callback. */ addSegment(requestData: GamePlayerModels.AdminAddSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the addSegment operation and resolves with the typed response. */ addSegmentAsync(requestData: GamePlayerModels.AdminAddSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getAvatar operation and returns the typed response via callback. */ getAvatar(requestData: GamePlayerModels.AdminGetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getAvatar operation and resolves with the typed response. */ getAvatarAsync(requestData: GamePlayerModels.AdminGetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCountryCode operation and returns the typed response via callback. */ getCountryCode(requestData: GamePlayerModels.AdminGetCountryCodeRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCountryCode operation and resolves with the typed response. */ getCountryCodeAsync(requestData: GamePlayerModels.AdminGetCountryCodeRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCustomData operation and returns the typed response via callback. */ getCustomData(requestData: GamePlayerModels.AdminGetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCustomData operation and resolves with the typed response. */ getCustomDataAsync(requestData: GamePlayerModels.AdminGetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getDisplayName operation and returns the typed response via callback. */ getDisplayName(requestData: GamePlayerModels.AdminGetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getDisplayName operation and resolves with the typed response. */ getDisplayNameAsync(requestData: GamePlayerModels.AdminGetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getFriendStatisticsLeaderboardAroundPlayer operation and returns the typed response via callback. */ getFriendStatisticsLeaderboardAroundPlayer(requestData: GamePlayerModels.AdminGetFriendStatisticsLeaderboardAroundPlayerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getFriendStatisticsLeaderboardAroundPlayer operation and resolves with the typed response. */ getFriendStatisticsLeaderboardAroundPlayerAsync(requestData: GamePlayerModels.AdminGetFriendStatisticsLeaderboardAroundPlayerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getFriendStatisticsLeaderboard operation and returns the typed response via callback. */ getFriendStatisticsLeaderboard(requestData: GamePlayerModels.AdminGetFriendStatisticsLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getFriendStatisticsLeaderboard operation and resolves with the typed response. */ getFriendStatisticsLeaderboardAsync(requestData: GamePlayerModels.AdminGetFriendStatisticsLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getIpAddressCreate operation and returns the typed response via callback. */ getIpAddressCreate(requestData: GamePlayerModels.AdminGetIpAddressCreateRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getIpAddressCreate operation and resolves with the typed response. */ getIpAddressCreateAsync(requestData: GamePlayerModels.AdminGetIpAddressCreateRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getOnlineStatus operation and returns the typed response via callback. */ getOnlineStatus(requestData: GamePlayerModels.AdminGetOnlineStatusRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getOnlineStatus operation and resolves with the typed response. */ getOnlineStatusAsync(requestData: GamePlayerModels.AdminGetOnlineStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerBan operation and returns the typed response via callback. */ getPlayerBan(requestData: GamePlayerModels.AdminGetPlayerBanRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerBan operation and resolves with the typed response. */ getPlayerBanAsync(requestData: GamePlayerModels.AdminGetPlayerBanRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerCharacter operation and returns the typed response via callback. */ getPlayerCharacter(requestData: GamePlayerModels.AdminGetPlayerCharacterRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerCharacter operation and resolves with the typed response. */ getPlayerCharacterAsync(requestData: GamePlayerModels.AdminGetPlayerCharacterRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerCurrency operation and returns the typed response via callback. */ getPlayerCurrency(requestData: GamePlayerModels.AdminGetPlayerCurrencyRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerCurrency operation and resolves with the typed response. */ getPlayerCurrencyAsync(requestData: GamePlayerModels.AdminGetPlayerCurrencyRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerData operation and returns the typed response via callback. */ getPlayerData(requestData: GamePlayerModels.AdminGetPlayerDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerData operation and resolves with the typed response. */ getPlayerDataAsync(requestData: GamePlayerModels.AdminGetPlayerDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerFriend operation and returns the typed response via callback. */ getPlayerFriend(requestData: GamePlayerModels.AdminGetPlayerFriendRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerFriend operation and resolves with the typed response. */ getPlayerFriendAsync(requestData: GamePlayerModels.AdminGetPlayerFriendRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerGroup operation and returns the typed response via callback. */ getPlayerGroup(requestData: GamePlayerModels.AdminGetPlayerGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerGroup operation and resolves with the typed response. */ getPlayerGroupAsync(requestData: GamePlayerModels.AdminGetPlayerGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerInformation operation and returns the typed response via callback. */ getPlayerInformation(requestData: GamePlayerModels.AdminGetPlayerInformationRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerInformation operation and resolves with the typed response. */ getPlayerInformationAsync(requestData: GamePlayerModels.AdminGetPlayerInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerInventory operation and returns the typed response via callback. */ getPlayerInventory(requestData: GamePlayerModels.AdminGetPlayerInventoryRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerInventory operation and resolves with the typed response. */ getPlayerInventoryAsync(requestData: GamePlayerModels.AdminGetPlayerInventoryRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayerStatistics operation and returns the typed response via callback. */ getPlayerStatistics(requestData: GamePlayerModels.AdminGetPlayerStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayerStatistics operation and resolves with the typed response. */ getPlayerStatisticsAsync(requestData: GamePlayerModels.AdminGetPlayerStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayersWithDisplayName operation and returns the typed response via callback. */ getPlayersWithDisplayName(requestData: GamePlayerModels.AdminGetPlayersWithDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayersWithDisplayName operation and resolves with the typed response. */ getPlayersWithDisplayNameAsync(requestData: GamePlayerModels.AdminGetPlayersWithDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayersWithSegment operation and returns the typed response via callback. */ getPlayersWithSegment(requestData: GamePlayerModels.AdminGetPlayersWithSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayersWithSegment operation and resolves with the typed response. */ getPlayersWithSegmentAsync(requestData: GamePlayerModels.AdminGetPlayersWithSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getPlayersWithTag operation and returns the typed response via callback. */ getPlayersWithTag(requestData: GamePlayerModels.AdminGetPlayersWithTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getPlayersWithTag operation and resolves with the typed response. */ getPlayersWithTagAsync(requestData: GamePlayerModels.AdminGetPlayersWithTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getSegment operation and returns the typed response via callback. */ getSegment(requestData: GamePlayerModels.AdminGetSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getSegment operation and resolves with the typed response. */ getSegmentAsync(requestData: GamePlayerModels.AdminGetSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboardAroundPlayer operation and returns the typed response via callback. */ getStatisticsLeaderboardAroundPlayer(requestData: GamePlayerModels.AdminGetStatisticsLeaderboardAroundPlayerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboardAroundPlayer operation and resolves with the typed response. */ getStatisticsLeaderboardAroundPlayerAsync(requestData: GamePlayerModels.AdminGetStatisticsLeaderboardAroundPlayerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboard operation and returns the typed response via callback. */ getStatisticsLeaderboard(requestData: GamePlayerModels.AdminGetStatisticsLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboard operation and resolves with the typed response. */ getStatisticsLeaderboardAsync(requestData: GamePlayerModels.AdminGetStatisticsLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTag operation and returns the typed response via callback. */ getTag(requestData: GamePlayerModels.AdminGetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTag operation and resolves with the typed response. */ getTagAsync(requestData: GamePlayerModels.AdminGetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTsCreate operation and returns the typed response via callback. */ getTsCreate(requestData: GamePlayerModels.AdminGetTsCreateRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTsCreate operation and resolves with the typed response. */ getTsCreateAsync(requestData: GamePlayerModels.AdminGetTsCreateRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTsLastLogin operation and returns the typed response via callback. */ getTsLastLogin(requestData: GamePlayerModels.AdminGetTsLastLoginRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTsLastLogin operation and resolves with the typed response. */ getTsLastLoginAsync(requestData: GamePlayerModels.AdminGetTsLastLoginRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the createGroup operation and returns the typed response via callback. */ createGroup(requestData: GamePlayerModels.AdminCreateGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the createGroup operation and resolves with the typed response. */ createGroupAsync(requestData: GamePlayerModels.AdminCreateGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the createPlayerCharacter operation and returns the typed response via callback. */ createPlayerCharacter(requestData: GamePlayerModels.AdminCreatePlayerCharacterRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the createPlayerCharacter operation and resolves with the typed response. */ createPlayerCharacterAsync(requestData: GamePlayerModels.AdminCreatePlayerCharacterRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the createPlayerItem operation and returns the typed response via callback. */ createPlayerItem(requestData: GamePlayerModels.AdminCreatePlayerItemRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the createPlayerItem operation and resolves with the typed response. */ createPlayerItemAsync(requestData: GamePlayerModels.AdminCreatePlayerItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the joinGroup operation and returns the typed response via callback. */ joinGroup(requestData: GamePlayerModels.AdminJoinGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the joinGroup operation and resolves with the typed response. */ joinGroupAsync(requestData: GamePlayerModels.AdminJoinGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the leaveGroup operation and returns the typed response via callback. */ leaveGroup(requestData: GamePlayerModels.AdminLeaveGroupRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the leaveGroup operation and resolves with the typed response. */ leaveGroupAsync(requestData: GamePlayerModels.AdminLeaveGroupRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removePlayerCharacter operation and returns the typed response via callback. */ removePlayerCharacter(requestData: GamePlayerModels.AdminRemovePlayerCharacterRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removePlayerCharacter operation and resolves with the typed response. */ removePlayerCharacterAsync(requestData: GamePlayerModels.AdminRemovePlayerCharacterRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removePlayerFriend operation and returns the typed response via callback. */ removePlayerFriend(requestData: GamePlayerModels.AdminRemovePlayerFriendRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removePlayerFriend operation and resolves with the typed response. */ removePlayerFriendAsync(requestData: GamePlayerModels.AdminRemovePlayerFriendRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removePlayerItem operation and returns the typed response via callback. */ removePlayerItem(requestData: GamePlayerModels.AdminRemovePlayerItemRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removePlayerItem operation and resolves with the typed response. */ removePlayerItemAsync(requestData: GamePlayerModels.AdminRemovePlayerItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeSegment operation and returns the typed response via callback. */ removeSegment(requestData: GamePlayerModels.AdminRemoveSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeSegment operation and resolves with the typed response. */ removeSegmentAsync(requestData: GamePlayerModels.AdminRemoveSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeTag operation and returns the typed response via callback. */ removeTag(requestData: GamePlayerModels.AdminRemoveTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeTag operation and resolves with the typed response. */ removeTagAsync(requestData: GamePlayerModels.AdminRemoveTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setAvatar operation and returns the typed response via callback. */ setAvatar(requestData: GamePlayerModels.AdminSetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setAvatar operation and resolves with the typed response. */ setAvatarAsync(requestData: GamePlayerModels.AdminSetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setCountryCode operation and returns the typed response via callback. */ setCountryCode(requestData: GamePlayerModels.AdminSetCountryCodeRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setCountryCode operation and resolves with the typed response. */ setCountryCodeAsync(requestData: GamePlayerModels.AdminSetCountryCodeRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setCustomData operation and returns the typed response via callback. */ setCustomData(requestData: GamePlayerModels.AdminSetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setCustomData operation and resolves with the typed response. */ setCustomDataAsync(requestData: GamePlayerModels.AdminSetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setDisplayName operation and returns the typed response via callback. */ setDisplayName(requestData: GamePlayerModels.AdminSetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setDisplayName operation and resolves with the typed response. */ setDisplayNameAsync(requestData: GamePlayerModels.AdminSetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setPlayerBan operation and returns the typed response via callback. */ setPlayerBan(requestData: GamePlayerModels.AdminSetPlayerBanRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setPlayerBan operation and resolves with the typed response. */ setPlayerBanAsync(requestData: GamePlayerModels.AdminSetPlayerBanRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the changePlayerCurrency operation and returns the typed response via callback. */ changePlayerCurrency(requestData: GamePlayerModels.AdminChangePlayerCurrencyRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the changePlayerCurrency operation and resolves with the typed response. */ changePlayerCurrencyAsync(requestData: GamePlayerModels.AdminChangePlayerCurrencyRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setPlayerData operation and returns the typed response via callback. */ setPlayerData(requestData: GamePlayerModels.AdminSetPlayerDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setPlayerData operation and resolves with the typed response. */ setPlayerDataAsync(requestData: GamePlayerModels.AdminSetPlayerDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the changePlayerStatistics operation and returns the typed response via callback. */ changePlayerStatistics(requestData: GamePlayerModels.AdminChangePlayerStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the changePlayerStatistics operation and resolves with the typed response. */ changePlayerStatisticsAsync(requestData: GamePlayerModels.AdminChangePlayerStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setTag operation and returns the typed response via callback. */ setTag(requestData: GamePlayerModels.AdminSetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setTag operation and resolves with the typed response. */ setTagAsync(requestData: GamePlayerModels.AdminSetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCurrencyLeaderboard operation and returns the typed response via callback. */ getCurrencyLeaderboard(requestData: GamePlayerModels.AdminGetCurrencyLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCurrencyLeaderboard operation and resolves with the typed response. */ getCurrencyLeaderboardAsync(requestData: GamePlayerModels.AdminGetCurrencyLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getLastLoginLeaderboard operation and returns the typed response via callback. */ getLastLoginLeaderboard(requestData: GamePlayerModels.AdminGetLastLoginLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getLastLoginLeaderboard operation and resolves with the typed response. */ getLastLoginLeaderboardAsync(requestData: GamePlayerModels.AdminGetLastLoginLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCreateLeaderboard operation and returns the typed response via callback. */ getCreateLeaderboard(requestData: GamePlayerModels.AdminGetCreateLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCreateLeaderboard operation and resolves with the typed response. */ getCreateLeaderboardAsync(requestData: GamePlayerModels.AdminGetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLog operation and returns the typed response via callback. */ getStatisticsLog(requestData: GamePlayerModels.AdminGetStatisticsLogRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLog operation and resolves with the typed response. */ getStatisticsLogAsync(requestData: GamePlayerModels.AdminGetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCurrencyLog operation and returns the typed response via callback. */ getCurrencyLog(requestData: GamePlayerModels.AdminGetCurrencyLogRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCurrencyLog operation and resolves with the typed response. */ getCurrencyLogAsync(requestData: GamePlayerModels.AdminGetCurrencyLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; }