Esempio n. 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);
        }
Esempio n. 2
0
 protected override void readData(IMessageReader reader)
 {
     _dayTimeInGameHours   = reader.ReadFloat();
     _dayTimeInRealSeconds = (_dayTimeInGameHours / _timeScale) * 3600.0f;
 }
Esempio n. 3
0
 protected override void readData(IMessageReader reader)
 {
     _arcanePower = reader.ReadFloat();
 }
Esempio n. 4
0
 protected override void readData(IMessageReader reader)
 {
     _timeToRefillInHours = reader.ReadFloat();
     _refillDelayInHours  = reader.ReadFloat();
 }