示例#1
0
 public override byte[] write(DataTypes dataTypes)
 {
     return(dataTypes.ConcatBytes(
                dataTypes.GetString(locale),
                dataTypes.GetByte(viewDistance),
                dataTypes.GetVarInt(chatMode),
                dataTypes.GetBool(chatColors),
                dataTypes.GetByte(skinParks),
                dataTypes.GetVarInt(mainHand)
                ));
 }