@xmobitea/gn-typescript-client
Version:
GearN Typescript Client SDK by XmobiTea (Pro)
195 lines (194 loc) • 27.1 kB
JavaScript
import { GNNetwork } from "./GNNetwork";
import { OperationRequest } from "./entity/OperationRequest";
import { MultiplayerRequestModels } from "./entity/models/MultiplayerRequestModels";
import { MultiplayerResponseModels } from "./entity/models/MultiplayerResponseModels";
export class MultiplayerApi {
constructor() {
this.server = new ServerMultiplayerApi();
this.admin = new AdminMultiplayerApi();
}
cancelAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
}
async cancelAllMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
}
cancelMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
}
async cancelMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
}
createMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
}
async createMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
}
getMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
}
async getMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
}
getMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
}
async getMatchAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
}
getQueueStatistics(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
}
async getQueueStatisticsAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
}
joinMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
}
async joinMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
}
listMatchmakingTicketsForPlayer(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
}
async listMatchmakingTicketsForPlayerAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
}
getAllMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
}
async getAllMatchAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
}
getAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
}
async getAllMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
}
}
export class ServerMultiplayerApi {
cancelAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
}
async cancelAllMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
}
cancelMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
}
async cancelMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
}
createMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
}
async createMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
}
getMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
}
async getMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
}
getMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
}
async getMatchAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
}
getQueueStatistics(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
}
async getQueueStatisticsAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
}
joinMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
}
async joinMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
}
listMatchmakingTicketsForPlayer(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
}
async listMatchmakingTicketsForPlayerAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
}
getAllMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
}
async getAllMatchAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
}
getAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
}
async getAllMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
}
}
export class AdminMultiplayerApi {
cancelAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
}
async cancelAllMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse);
}
cancelMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
}
async cancelMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse);
}
createMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
}
async createMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse);
}
getMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
}
async getMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse);
}
getMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
}
async getMatchAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetMatchOperationResponse);
}
getQueueStatistics(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
}
async getQueueStatisticsAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetQueueStatisticsOperationResponse);
}
joinMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
}
async joinMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse);
}
listMatchmakingTicketsForPlayer(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
}
async listMatchmakingTicketsForPlayerAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse);
}
getAllMatch(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
}
async getAllMatchAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchOperationResponse);
}
getAllMatchmakingTicket(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
GNNetwork.sendViaHttpTRequestTResponse(new MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
}
async getAllMatchmakingTicketAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
return GNNetwork.sendViaHttpTRequestTResponseAsync(new MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse);
}
}