public static void getAdvIDFA() { if (Application.platform == RuntimePlatform.OSXEditor || Application.platform == RuntimePlatform.WindowsEditor) { JoyYouInterfaceSimulator.getAdvIDFA(); } }
public static void ExchangeGoods(int price, string billNo, string billTitle, string roleId, int zoneId) { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.U3D_exchangeGoods(price, billNo, billTitle, roleId, zoneId); } else { JoyYouInterfaceSimulator.Pay(); } }
public static void Logout() { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.U3D_logout(); } else { JoyYouInterfaceSimulator.Logout(); } }
public static void HLLogout() { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.AndroidInvoke("__ICommonSDKPlatform", "Logout", new object[0]); } else { JoyYouInterfaceSimulator.Logout(); } }
public static void GameRecordItf_ShowPlayerClub() { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.AndroidInvoke("__IGameRecord", "ShowPlayerClub", new object[0]); } else { JoyYouInterfaceSimulator.GameRecordItf_ShowPlayerClub(); } }
public static void QuitGame(string paramString) { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.AndroidInvoke("__ICommonSDKPlatform", "Release", new object[0]); } else { JoyYouInterfaceSimulator.QuitGame(paramString); } }
public static void ShowLoginView() { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.U3D_showLoginView(); } else { JoyYouInterfaceSimulator.ShowLoginView(); } }
public static void GameRecordItf_ShowCtrlBar(bool visible) { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.AndroidInvoke("__IGameRecord", "ShowControlBar", new object[] { visible }); } else { JoyYouInterfaceSimulator.GameRecordItf_ShowCtrlBar(visible); } }
public static void SendGameExtData(string type, string jsonData) { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.AndroidInvoke("__ICommonSDKPlatform", "SendGameExtData", new object[] { type, jsonData }); } else { JoyYouInterfaceSimulator.SendGameExtData(type, jsonData); } }
public static void InitGameRecordItf(string appKey, string _params) { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.AndroidInvoke("__IGameRecord", "Init", new object[] { appKey, _params }); } else { JoyYouInterfaceSimulator.InitGameRecordItf(appKey, _params); } }
public static void HLRegister(string username, string password, string email) { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.AndroidInvoke("__ICommonSDKPlatform", "Register", new object[] { username, password, email }); } else { JoyYouInterfaceSimulator.onRegister(); } }
public static void HLLogin(string username, string password) { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.AndroidInvoke("__ICommonSDKPlatform", "Login", new object[] { username, password, string.Empty }); } else { JoyYouInterfaceSimulator.ShowLoginView(); } }
public static string GetSDKConfig(string type, string jsonData) { string result = string.Empty; if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { result = JoyYouNativeInterface.AndroidInvoke <string>("__ICommonSDKPlatform", "GetSDKConfig", new object[] { type, jsonData }); } else { result = JoyYouInterfaceSimulator.GetSDKConfig(type, jsonData); } return(result); }
public static bool CheckStatus(string type, string jsonData) { bool result; if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { result = JoyYouNativeInterface.AndroidInvoke <bool>("__ICommonSDKPlatform", "CheckStatus", new object[] { type, jsonData }); } else { result = JoyYouInterfaceSimulator.CheckStatus(type, jsonData); } return(result); }
public static void ShowLoginViewWithType(int type) { JoyYouInterfaceSimulator.SendObjMsg("LoginCallBack", "Simulating API: \"ShowLoginViewWithType(int type)\""); }
public static void Pay() { JoyYouInterfaceSimulator.SendObjMsg("PayCallBack", "Simulating API: \"Pay()\""); }
public static void ShowCenterView() { JoyYouInterfaceSimulator.SendObjMsg("UserCenteredClosedCallBack", "Simulating API: \"ShowCenterView()\""); }
public static void VerifyingUpdatePassCallBack(string msg) { JoyYouInterfaceSimulator.SendObjMsg("VerifyingUpdatePassCallBack", "Simulating API: \"ShowLoginView\""); }
public static void onRegister() { Debug.Log("onRegister"); JoyYouInterfaceSimulator.SendObjMsg("RegisterCallBack", "Simulating API: \"HLRegister\""); }
public static void QuitGame(string paramString) { Debug.Log("QuitGame"); JoyYouInterfaceSimulator.SendObjMsg("QuitGame", "Simulating API: \"QuitGame\""); }
public static void getAdvIDFA() { Debug.Log("getAdvIDFA"); JoyYouInterfaceSimulator.SendObjMsg("NotifyIDFA", "IDFA=XXXXXXXXXXXXXXXXX"); }
public static void Logout() { JoyYouInterfaceSimulator.SendObjMsg("LogoutCallBack", "Simulating API: \"Logout()\""); }