public void SendJumpFailure() { var msg = new JumpFailureMsg(); msg.EntityId = m_grid.EntityId; Sync.Layer.SendMessageToAllAndSelf(ref msg); }
private static void OnJumpFailure(ref JumpFailureMsg msg, MyNetworkClient sender) { MyCubeGrid cubeGrid; MyEntities.TryGetEntityById(msg.EntityId, out cubeGrid); if (cubeGrid != null) { //TODO(AF) Add a notification, maybe a reason } }