Example #1
0
 public static void ModifyUserInfo()
 {
     if (GameDefines.OutputVerDefs == OutputVersionDefs.Nd91iPhone)
     {
         U3dNdSender.EnterUserCenter();
     }
     else if (GameDefines.OutputVerDefs == OutputVersionDefs.GfanAndroid)
     {
         // Only guest use
         U3dGfanSender.ModifyUserInfo();
     }
     else if (GameDefines.OutputVerDefs == OutputVersionDefs.UCAndroid ||
              GameDefines.OutputVerDefs == OutputVersionDefs.UCiPhone)
     {
         UCSDKAgent.EnterUserCenter();
     }
     else if (GameDefines.OutputVerDefs == OutputVersionDefs.GfaniPhone)
     {
         U3dGfaniOSSender.EnterUserCenter();
     }
     else
     {
         Globals.Instance.MGUIManager.ShowSimpleCenterTips(20000019, true);
     }
 }
Example #2
0
 public static void EnterGameCenter()
 {
     if (GameDefines.OutputVerDefs == OutputVersionDefs.Nd91iPhone)
     {
         U3dNdSender.EnterNdPlatform();
     }
     else if (GameDefines.OutputVerDefs == OutputVersionDefs.Nd91Android)
     {
         NdSDKAgent.EnterNdPlatform();
     }
     else if (GameDefines.OutputVerDefs == OutputVersionDefs.UCAndroid ||
              GameDefines.OutputVerDefs == OutputVersionDefs.UCiPhone)
     {
         UCSDKAgent.EnterUserCenter();
     }
     else if (GameDefines.OutputVerDefs == OutputVersionDefs.PPiPhone)
     {
         PPSDKAgent.EnterPPCenter();
     }
     else
     {
         Globals.Instance.MGUIManager.ShowSimpleCenterTips(20000019, true);
     }
 }