Files
tysdk-intergration/sdk-intergration/LocalPackages/PlayFabSDK/Shared/Public/ITransportPlugin.cs
tech aa5ce1ff5a [U] add PlayFab SDK and SNS login improvements
- Add PlayFabSDK as local package dependency
- Add PlayFabTool.cs for PlayFab API integration
- Implement LoginBySns method in TYSdkFacade
- Add Android SNS login support in SDKManager and UnityBridgeFunc
- Add Build Android With Debug menu option
- Improve exception handling and timeout management

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-29 16:12:17 +08:00

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