Пример #1
0
        public static void Deserialize(IMessageReader reader, out AlterGameTags gameTag, out bool isPublic)
        {
            var slice = reader.ReadBytes(sizeof(byte) + sizeof(byte)).Span;

            gameTag  = (AlterGameTags)slice.ReadByte();
            isPublic = slice.ReadBoolean();
        }
Пример #2
0
 public static void Deserialize(MessageReader reader, out AlterGameTags gameTag, out bool value)
 {
     gameTag = (AlterGameTags)reader.ReadByte();
     value   = reader.ReadBoolean();
 }