private static void OnHelpOthersChanged(MySyncShipWelder syncObject, ref ChangeHelperModeMsg message, MyNetworkClient sender) { syncObject.m_shipWelder.m_helpOthers = message.HelpOthers; if (Sync.IsServer) { Sync.Layer.SendMessageToAllButOne(ref message, sender.SteamUserId); } }
public void ChangeHelpOthersMode(bool newHelperMode) { var msg = new ChangeHelperModeMsg(); msg.EntityId = m_shipWelder.EntityId; msg.HelpOthers = newHelperMode; Sync.Layer.SendMessageToAllAndSelf(ref msg); }
private static void OnHelpOthersChanged(MySyncShipWelder syncObject, ref ChangeHelperModeMsg message, MyNetworkClient sender) { syncObject.m_shipWelder.m_helpOthers = message.HelpOthers; }
public void ChangeHelpOthersMode(bool newHelperMode) { var msg = new ChangeHelperModeMsg(); msg.EntityId = m_shipWelder.EntityId; msg.HelpOthers = newHelperMode; Sync.Layer.SendMessageToAllAndSelf(ref msg); }
private static void OnHelpOthersChanged(MySyncShipWelder syncObject, ref ChangeHelperModeMsg message, MyNetworkClient sender) { syncObject.m_shipWelder.m_helpOthers = message.HelpOthers; if (Sync.IsServer) { Sync.Layer.SendMessageToAllButOne(ref message, sender.SteamUserId); } }
private static void OnHelpOthersChanged(MySyncShipWelder syncObject, ref ChangeHelperModeMsg message, MyNetworkClient sender) { syncObject.m_shipWelder.m_helpOthers = message.HelpOthers; }