Пример #1
0
 private void CellMouseBTNUp(EventMgr.MouseButtonUpEventInfo info)
 {
     if (player == null)
     {
         return;
     }
     if (GameCtrl.IsOnlineGame)
     {
         lock (castingMutex)
         {
             if (expectedCasting)
             {
                 expectedCasting = false;
                 DataSync.SyncMouseButton0Up(player, Gamef.SystemTimeInMillisecond);
             }
         }
     }
     else
     {
         skillTable.CurrentCell.SetInstant(Gamef.SystemTimeInMillisecond);
         skillTable.CurrentCell.Stop();
     }
 }