private static void OnPasteAutopilotSetup(MySyncRemoteControl sync, ref PasteAutopilotSetupMsg msg, MyNetworkClient sender) { sync.m_remoteControl.OnPasteAutopilotSetup(msg.Clipboard); if (Sync.IsServer) { Sync.Layer.SendMessageToAllButOne(ref msg, sender.SteamUserId); } }
private static void OnPasteAutopilotSetup(MySyncRemoteControl sync, ref PasteAutopilotSetupMsg msg, MyNetworkClient sender) { sync.m_remoteControl.OnPasteAutopilotSetup(msg.Clipboard); }
public void SendPasteAutopilotSettings(MyObjectBuilder_AutopilotClipboard clipboard) { var msg = new PasteAutopilotSetupMsg(); msg.EntityId = m_remoteControl.EntityId; msg.Clipboard = clipboard; Sync.Layer.SendMessageToServerAndSelf(ref msg,MyTransportMessageEnum.Request); }
public void SendPasteAutopilotSettings(MyObjectBuilder_AutopilotClipboard clipboard) { var msg = new PasteAutopilotSetupMsg(); msg.EntityId = m_remoteControl.EntityId; msg.Clipboard = clipboard; Sync.Layer.SendMessageToAllAndSelf(ref msg); }