public override void Read(BinaryReader reader)
 {
     base.Read(reader);
     // TODO: Non-alloc version of this
     state = new PlayerSaveStateData();
     state.Read(reader);
 }
 public void Read(BinaryReader reader)
 {
     accountId   = reader.ReadInt32();
     characterId = reader.ReadInt32();
     name        = reader.ReadString();
     // TODO: Non-alloc version of this
     state = new PlayerSaveStateData();
     state.Read(reader);
 }
Exemple #3
0
        public override void Read(BinaryReader reader)
        {
            base.Read(reader);
            accountId = reader.ReadInt32();
            productName.Read(reader);
            characterName.Read(reader);

            /*  productName = reader.ReadString();
            *  characterName = reader.ReadString();*/
            // TODO: Non-alloc version of this
            state = new PlayerSaveStateData();
            state.Read(reader);
        }