备份CatanBuilding瘦身独立工程
This commit is contained in:
27
LocalPackages/PlayFabSDK/Shared/Public/ITransportPlugin.cs
Normal file
27
LocalPackages/PlayFabSDK/Shared/Public/ITransportPlugin.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user