Example #1
0
 // :: 총 조종
 void ObjectRoboGunControlCheck()
 {
     if (BitControl.Get(m_curState, (int)HERO_STATE.CONTROL_GUN))
     {
         if (string.IsNullOrEmpty(GameManager.Instance().ROBO.GUN_PLAYER))
         {
             NetworkManager.Instance().SendOrderMessage(
                 JSONMessageTool.ToJsonOrderRobotGunSetting());
         }
         else
         {
             // 탈출
             NetworkManager.Instance().SendOrderMessage(
                 JSONMessageTool.ToJsonOrderRobotGunSetting(false));
         }
     }
 }