public static string UploadAFile(string filePath, string assetId, int gameId, Action <LootLockerUploadAFileResponse> onComplete, string[] tags = null) { if (!CheckInitialized()) { throw new Exception("please initialize sdk first"); } return(LootLockerAPIManagerAdmin.UploadAFile(filePath, assetId, gameId, onComplete, tags)); }
public static void SetupTwoFactorAuthentication(Action <LootLockerSetupTwoFactorAuthenticationResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.SetupTwoFactorAuthentication(onComplete); }
public static void GetAllGamesToTheCurrentUser(Action <LootLockerGetAllGamesToTheCurrentUserResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.GetAllGamesToTheCurrentUser(onComplete); }
public static void SubsequentRequestsRequest(Action <LootLockerSubsequentRequestsResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.SubsequentRequests(onComplete); }
public static void CreatingEvent(Dictionary <string, object> requestData, Action <LootLockerCreatingEventResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.CreatingEvent(requestData, onComplete); }
public static void CreatingMaps(LootLockerCreatingMapsRequest request, bool sendAssetID, bool sendSpawnPoints, Action <LootLockerCreatingMapsResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.CreatingMaps(request, sendAssetID, sendSpawnPoints, onComplete); }
public static void GetContexts(Action <LootLockerGetContextsResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.GetContexts(onComplete); }
public static void CreateAsset(LootLockerCreateAssetRequest request, Action <LootLockerCreateAssetResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.CreateAsset(request, onComplete); }
public static void DeleteFile(string fileId, Action <LootLockerDeleteFileResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.DeleteFile(fileId, onComplete); }
public static void GetFiles(LootLocker.Admin.Requests.LootLockerFileFilterType filter, Action <LootLockerGetFilesResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.GetFiles(filter, onComplete); }
public static void GetAssets(Action <LootLockerGetAssetsResponse> onComplete, string search = null) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.GetAssets(onComplete, search); }
public static void UpdateFile(string fileId, LootLockerUpdateFileRequest request, Action <LootLockerUpdateFileResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerAPIManagerAdmin.UpdateFile(fileId, request, onComplete); }
public static void GetDetailedInformationAboutAGame(string id, Action <LootLockerCreatingAGameResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerGetRequest lootLockerGetRequest = new LootLockerGetRequest(); lootLockerGetRequest.getRequests.Add(id.ToString()); LootLockerAPIManagerAdmin.GetDetailedInformationAboutAGame(lootLockerGetRequest, onComplete); }
public static void GettingAllEvents(int gameID, Action <LootLockerGettingAllEventsResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerGetRequest lootLockerGetRequest = new LootLockerGetRequest(); lootLockerGetRequest.getRequests.Add(gameID.ToString()); LootLockerAPIManagerAdmin.GettingAllEvents(lootLockerGetRequest, onComplete); }
public static void GetUsersToAnOrganisation(int organisation_id, Action <LootLockerGetUsersToAnOrganisationResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerGetRequest data = new LootLockerGetRequest(); data.getRequests.Add(organisation_id.ToString()); LootLockerAPIManagerAdmin.GetUsersToAnOrganisation(data, onComplete); }
public static void CreateTriggers(LootLockerCreateTriggersRequest requestData, int game_id, Action <LootLockerListTriggersResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerGetRequest data = new LootLockerGetRequest(); data.getRequests.Add(game_id.ToString()); LootLockerAPIManagerAdmin.CreateTriggers(requestData, data, onComplete); }
public static void SearchingForPlayers(int game_id, Action <LootLockerSearchingForPlayersResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerGetRequest data = new LootLockerGetRequest(); data.getRequests.Add(game_id.ToString()); LootLockerAPIManagerAdmin.SearchingForPlayers(data, onComplete); }
public static void DeletingGames(int gameIDToDelete, Action <LootLockerDeletingGamesResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerGetRequest lootLockerGetRequest = new LootLockerGetRequest(); lootLockerGetRequest.getRequests.Add(gameIDToDelete.ToString()); LootLockerAPIManagerAdmin.DeletingGames(lootLockerGetRequest, onComplete); }
public static void UpdatingMaps(LootLockerCreatingMapsRequest request, int mapID, Action <LootLockerCreatingMapsResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerGetRequest lootLockerGetRequest = new LootLockerGetRequest(); lootLockerGetRequest.getRequests.Add(mapID.ToString()); LootLockerAPIManagerAdmin.UpdatingMaps(lootLockerGetRequest, request, onComplete); }
public static void UpdatingEvent(int eventID, Dictionary <string, object> requestData, Action <LootLockerCreatingEventResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerGetRequest lootLockerGetRequest = new LootLockerGetRequest(); lootLockerGetRequest.getRequests.Add(eventID.ToString()); LootLockerAPIManagerAdmin.UpdatingEvent(lootLockerGetRequest, requestData, onComplete); }
public static void TwoFactorAuthVerification(string mfa_key, string secret, Action <LootLockerAuthResponse> onComplete) { if (!CheckInitialized()) { return; } var data = new LootLockerTwoFactorAuthVerficationRequest(); data.mfa_key = mfa_key; data.secret = secret; LootLockerAPIManagerAdmin.TwoFactorAuthVerification(data, onComplete); }
public static void RemoveTwoFactorAuthentication(int remove2FASecret, Action <LootLockerRemoveTwoFactorAuthenticationResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerVerifyTwoFactorAuthenticationRequest request = new LootLockerVerifyTwoFactorAuthenticationRequest { secret = remove2FASecret }; LootLockerAPIManagerAdmin.RemoveTwoFactorAuthentication(request, onComplete); }
public static void InitialAuthRequest(string email, string password, Action <LootLockerAuthResponse> onComplete) { if (!CheckInitialized()) { return; } var data = new LootLockerInitialAuthRequest(); data.email = email; data.password = password; LootLockerAPIManagerAdmin.InitialAuthenticationRequest(data, onComplete); }
public static void UpdatingInformationAboutAGame(int gameIDToUpdateInfo, Dictionary <string, object> requestData, Action <LootLockerCreatingAGameResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerGetRequest lootLockerGetRequest = new LootLockerGetRequest(); lootLockerGetRequest.getRequests.Add(gameIDToUpdateInfo.ToString()); LootLockerAPIManagerAdmin.UpdatingInformationAboutAGame(lootLockerGetRequest, requestData, onComplete); }
public static void CreatingAGame(string name, string steam_app_id, bool sandbox_mode, int organisation_id, bool demo, Action <LootLockerCreatingAGameResponse> onComplete) { if (!CheckInitialized()) { return; } LootLockerCreatingAGameRequest data = new LootLockerCreatingAGameRequest { name = name, steam_app_id = steam_app_id, sandbox_mode = sandbox_mode, organisation_id = organisation_id, demo = demo }; LootLockerAPIManagerAdmin.CreatingAGame(data, onComplete); }