You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PlumberUltimateAds/Assets/PlayFabSDK/Shared/Models/SharedModels.cs

45 lines
1.0 KiB
C#

using PlayFab.Internal;
namespace PlayFab.SharedModels
{
public class HttpResponseObject
{
public int code;
public string status;
public object data;
}
public class PlayFabBaseModel
{
public string ToJson()
{
var json = PluginManager.GetPlugin<ISerializerPlugin>(PluginContract.PlayFab_Serializer);
return json.SerializeObject(this);
}
}
public interface IPlayFabInstanceApi { }
public class PlayFabRequestCommon : PlayFabBaseModel
{
public PlayFabAuthenticationContext AuthenticationContext;
}
public class PlayFabResultCommon : PlayFabBaseModel
{
public PlayFabRequestCommon Request;
public object CustomData;
}
public class PlayFabLoginResultCommon : PlayFabResultCommon
{
public PlayFabAuthenticationContext AuthenticationContext;
}
public class PlayFabResult<TResult> where TResult : PlayFabResultCommon
{
public TResult Result;
public object CustomData;
}
}