Example #1
0
        public Vector3 ReadVector3(IMessageReader reader)
        {
            float x = reader.ReadFloat();
            float y = reader.ReadFloat();
            float z = reader.ReadFloat();

            return new Vector3(x, y, z);
        }
Example #2
0
 protected override void readData(IMessageReader reader)
 {
     _dayTimeInGameHours   = reader.ReadFloat();
     _dayTimeInRealSeconds = (_dayTimeInGameHours / _timeScale) * 3600.0f;
 }
Example #3
0
 protected override void readData(IMessageReader reader)
 {
     _arcanePower = reader.ReadFloat();
 }
Example #4
0
 protected override void readData(IMessageReader reader)
 {
     _timeToRefillInHours = reader.ReadFloat();
     _refillDelayInHours  = reader.ReadFloat();
 }