Client LuaCsForBarotrauma
BarotraumaClient/ClientSource/Items/Components/TriggerComponent.cs
2 
4 {
5  partial class TriggerComponent : ItemComponent, IServerSerializable
6  {
7  public void ClientEventRead(IReadMessage msg, float sendingTime)
8  {
9  CurrentForceFluctuation = msg.ReadRangedSingle(0.0f, 1.0f, 8);
10  }
11  }
12 }
Single ReadRangedSingle(Single min, Single max, int bitCount)
Interface for entities that the server can send events to the clients