Inheritance: PlayFab.SharedModels.PlayFabResultCommon
Exemplo n.º 1
0
 public static void ClientCharCallBack(ListUsersCharactersResult charResult)
 {
     CharacterModel temp;
     foreach (var character in charResult.Characters)
     {
         if (!PfSharedModelEx.globalClientUser.clientCharacterModels.TryGetValue(character.CharacterId, out temp))
             PfSharedModelEx.globalClientUser.clientCharacterModels[character.CharacterId] = new PfInvClientChar(PfSharedModelEx.globalClientUser.playFabId, character.CharacterId, character.CharacterName);
         PfSharedControllerEx.PostEventMessage(PfSharedControllerEx.EventType.OnUserCharactersLoaded, PfSharedModelEx.globalClientUser.playFabId, character.CharacterId, PfSharedControllerEx.Api.Client, false);
     }
 }
Exemplo n.º 2
0
 private void GetCharsCallback(ListUsersCharactersResult result)
 {
     ((UUnitTestContext)result.CustomData).EndTest(UUnitFinishState.PASSED, null);
 }
Exemplo n.º 3
0
 private void GetCharsCallback(ListUsersCharactersResult result)
 {
     lastReceivedMessage = "Get Chars Successful";
     foreach (var eachCharacter in result.Characters)
         if (eachCharacter.CharacterName == CHAR_NAME)
             targetCharacter = eachCharacter;
 }