Inheritance: PlayFab.SharedModels.PlayFabResultCommon
Ejemplo 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);
     }
 }
Ejemplo n.º 2
0
 private void GetCharsCallback(ListUsersCharactersResult result)
 {
     ((UUnitTestContext)result.CustomData).EndTest(UUnitFinishState.PASSED, null);
 }
Ejemplo 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;
 }