Пример #1
0
 public void Read(ServerMessage str)
 {
     sleepClause = str.ReadBoolean();
     speciesClause = str.ReadBoolean();
     evasionClause = str.ReadBoolean();
     OHKOClause = str.ReadBoolean();
     equalizeLevels = str.ReadBoolean();
     bannedMonsters = str.ReadString();
 }
Пример #2
0
 public override void Read(ServerMessage str)
 {
     base.Read(str);
     switchIndex = str.ReadByte();
     resetStats = str.ReadByte();
     switchMsg = str.ReadString();
 }
Пример #3
0
        public void ReceiveKeys(ServerMessage msg, GameSaveKeyType kind)
        {
            int count = msg.ReadWord();
            while (count>0) {
            string key = msg.ReadString();
            string value =  msg.ReadString();

            //Value := DecompressBinaryData(Value);
            this.UpdateKey(key, value, kind);

            count--;
            }
        }