public Vector3 ReadVector3(IMessageReader reader) { float x = reader.ReadFloat(); float y = reader.ReadFloat(); float z = reader.ReadFloat(); return new Vector3(x, y, z); }
protected override void readData(IMessageReader reader) { _dayTimeInGameHours = reader.ReadFloat(); _dayTimeInRealSeconds = (_dayTimeInGameHours / _timeScale) * 3600.0f; }
protected override void readData(IMessageReader reader) { _arcanePower = reader.ReadFloat(); }
protected override void readData(IMessageReader reader) { _timeToRefillInHours = reader.ReadFloat(); _refillDelayInHours = reader.ReadFloat(); }