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.
CrowdControl/Assets/PlayFabSDK/Shared/Public/ITransportPlugin.cs

28 lines
832 B
C#

using System;
using System.Collections.Generic;
namespace PlayFab
{
/// <summary>
/// Interface of any transport SDK plugin.
/// </summary>
public interface ITransportPlugin: IPlayFabPlugin
{
bool IsInitialized { get; }
void Initialize();
// Mirroring MonoBehaviour - Relayed from PlayFabHTTP
void Update();
void OnDestroy();
void SimpleGetCall(string fullUrl, Action<byte[]> successCallback, Action<string> errorCallback);
void SimplePutCall(string fullUrl, byte[] payload, Action<byte[]> successCallback, Action<string> errorCallback);
void SimplePostCall(string fullUrl, byte[] payload, Action<byte[]> successCallback, Action<string> errorCallback);
void MakeApiCall(object reqContainer);
int GetPendingMessages();
}
}