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/Public/ITransportPlugin.cs

28 lines
832 B
C#

2 months ago
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();
}
}