示例#1
0
 private bool UseKoreanRating()
 {
     if (SceneMgr.Get().IsInGame())
     {
         return(false);
     }
     return(BattleNet.GetAccountCountry() == "KOR");
 }
示例#2
0
 public static Locale[] GetLoadOrder(Locale locale, bool isCardTexture = false)
 {
     Locale[] array = LOAD_ORDERS[locale];
     if ((Network.IsRunning() && (BattleNet.GetAccountCountry() == "CHN")) && isCardTexture)
     {
         Array.Resize <Locale>(ref array, array.Length + 1);
         Array.Copy(array, 0, array, 1, array.Length - 1);
         array[0] = Locale.zhCN;
     }
     return(array);
 }
示例#3
0
 private void DropPack()
 {
     PegCursor.Get().SetMode(PegCursor.Mode.STOPDRAG);
     this.m_Socket.OnPackReleased();
     this.m_SocketAccent.OnPackReleased();
     if (UniversalInputManager.Get().InputIsOver(this.m_Socket.gameObject))
     {
         if (BattleNet.GetAccountCountry() == "KOR")
         {
             m_hasAcknowledgedKoreanWarning = true;
         }
         this.OpenBooster(this.m_draggedPack);
         this.HideHint();
     }
     else
     {
         this.PutBackBooster();
         this.DestroyHint();
     }
     this.DestroyDraggedPack();
     this.UpdateUIEvents();
     this.m_DragPlane.SetActive(false);
 }