[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>
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user