public void Init() { SDKConfig.Log("Default_UnityToSDK : Init()"); SDKMessage message = new SDKMessage((int)SDKMessageType.Init); SDKManager.GetSingleton().UnityToSDK(message); }
public string Other(SDKMessage message) { SDKConfig.Log("Default_UnityToSDK : Other()"); if (message == null) { message = new SDKMessage((int)SDKMessageType.Method0); } return(SDKManager.GetSingleton().UnityToSDK(message)); }
public void Pay(SDKMessage message) { SDKConfig.Log("Default_UnityToSDK : Pay()"); if (message == null) { message = new SDKMessage((int)SDKMessageType.Pay); } SDKManager.GetSingleton().UnityToSDK(message); }
public void UploadInfo(SDKMessage message) { SDKConfig.Log("Default_UnityToSDK : UploadInfo()"); if (message == null) { message = new SDKMessage((int)SDKMessageType.UploadInfo); } SDKManager.GetSingleton().UnityToSDK(message); }
public void LoginSucceed(SDKMessage message) { if (message == null) { SDKConfig.Log("Default_SDKToUnity : LoginNotice() message == null"); return; } SDKConfig.Log("Default_SDKToUnity : LoginNotice() UserID : " + message.UserID); SDKConfig.LoginGame(message.UserID); }
public static void Log(string log) { SDKConfig.Log(log); }
public string Other(SDKMessage message) { SDKConfig.Log("Default_SDKToUnity : Other()"); return("null"); }
public void LogoutSucceed() { SDKConfig.Log("Default_SDKToUnity : LogoutSucceed()"); SDKConfig.LogoutGame(); }