コード例 #1
0
        public static void GetCharacterVc(string playFabId, string characterId)
        {
            var getRequest = new ServerModels.GetCharacterInventoryRequest();

            getRequest.PlayFabId   = playFabId;
            getRequest.CharacterId = characterId;
            PlayFabServerAPI.GetCharacterInventory(getRequest, GetCharacterVcCallback, PfSharedControllerEx.FailCallback("GetCharacterInventory"));
        }
コード例 #2
0
 public static Action GetCharacterVc(string playFabId, string characterId)
 {
     Action output = () =>
     {
         var getRequest = new ServerModels.GetCharacterInventoryRequest();
         getRequest.PlayFabId = playFabId;
         getRequest.CharacterId = characterId;
         PlayFabServerAPI.GetCharacterInventory(getRequest, GetCharacterVcCallback, PfSharedControllerEx.FailCallback("GetCharacterInventory"));
     };
     return output;
 }
コード例 #3
0
ファイル: InventoryExample.cs プロジェクト: fordream/UnitySDK
 public void GetInventory()
 {
     var getRequest = new ServerModels.GetCharacterInventoryRequest();
     getRequest.PlayFabId = playFabId;
     getRequest.CharacterId = characterId;
     PlayFabServerAPI.GetCharacterInventory(getRequest, GetInventoryCallback, PfSharedControllerEx.FailCallback("GetCharacterInventory"));
 }