Exemple #1
0
 static void UpdateDampenersSuccess(MySyncShipController sync, ref UpdateDampenersMsg msg, MyNetworkClient sender)
 {
     sync.RaiseDampenersUpdated(msg.DampenersEnabled);
     if (Sync.IsServer)
     {
         Sync.Layer.SendMessageToAllButOne(ref msg, sender.SteamUserId);
     }
 }
 static void UpdateDampenersSuccess(MySyncShipController sync, ref UpdateDampenersMsg msg, MyNetworkClient sender)
 {
     sync.RaiseDampenersUpdated(msg.DampenersEnabled);
 }
 static void UpdateDampenersSuccess(MySyncShipController sync, ref UpdateDampenersMsg msg, MyNetworkClient sender)
 {
     sync.RaiseDampenersUpdated(msg.DampenersEnabled);
     if (Sync.IsServer)
     {
         Sync.Layer.SendMessageToAllButOne(ref msg, sender.SteamUserId);
     }
 }
 static void UpdateDampenersSuccess(MySyncShipController sync, ref UpdateDampenersMsg msg, MyNetworkClient sender)
 {
     sync.RaiseDampenersUpdated(msg.DampenersEnabled);
 }