Наследование: PlayFab.SharedModels.PlayFabResultCommon
Пример #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);
     }
 }
Пример #2
0
 private void GetCharsCallback(ListUsersCharactersResult result)
 {
     ((UUnitTestContext)result.CustomData).EndTest(UUnitFinishState.PASSED, null);
 }
Пример #3
0
 private void GetCharsCallback(ListUsersCharactersResult result)
 {
     lastReceivedMessage = "Get Chars Successful";
     foreach (var eachCharacter in result.Characters)
         if (eachCharacter.CharacterName == CHAR_NAME)
             targetCharacter = eachCharacter;
 }