Exemplo n.º 1
0
            public void SendAbortJump()
            {
                var msg = new AbortJumpMsg();

                msg.EntityId = m_grid.EntityId;

                Sync.Layer.SendMessageToAll(ref msg);
            }
Exemplo n.º 2
0
            private static void OnAbortJump(ref AbortJumpMsg msg, MyNetworkClient sender)
            {
                MyCubeGrid cubeGrid;

                MyEntities.TryGetEntityById(msg.EntityId, out cubeGrid);
                if (cubeGrid != null)
                {
                    cubeGrid.GridSystems.JumpSystem.AbortJump();
                }
            }
 private static void OnAbortJump(ref AbortJumpMsg msg, MyNetworkClient sender)
 {
     MyCubeGrid cubeGrid;
     MyEntities.TryGetEntityById(msg.EntityId, out cubeGrid);
     if (cubeGrid != null)
     {
         cubeGrid.GridSystems.JumpSystem.AbortJump();
     }
 }
            public void SendAbortJump()
            {
                var msg = new AbortJumpMsg();
                msg.EntityId = m_grid.EntityId;

                Sync.Layer.SendMessageToAll(ref msg);
            }