package Ġorg . k rypt on mc . k rypt on . packet .` in `. play Ċ Ċ import Ġio . netty . buffer . Byte Buf Ċ import Ġorg . k rypt on mc . k rypt on . entity . Main Hand Ċ import Ġorg . k rypt on mc . k rypt on . entity . metadata . to Skin Settings Ċ import Ġorg . k rypt on mc . k rypt on . extension . readString Ċ import Ġorg . k rypt on mc . k rypt on . extension . read Var Int Ċ import Ġorg . k rypt on mc . k rypt on . packet . data . Chat Mode Ċ import Ġorg . k rypt on mc . k rypt on . packet . data . Client Settings Ċ import Ġorg . k rypt on mc . k rypt on . packet . state . Play Packet Ċ Ċ class ĠPacket In Client Settings Ġ: ĠPlay Packet ( 0 x 0 5 ) Ġ{ ĊĊĠĠĠ Ġlateinit Ġvar Ġsettings : ĠClient Settings ĊĠĠĠĠĠĠĠ Ġprivate Ġset ĊĊĠĠĠ Ġoverride Ġfun Ġread ( buf : ĠByte Buf ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġlocale Ġ= Ġbuf . readString ( 1 6 ) ĊĠĠĠĠĠĠĠ Ġval Ġview Distance Ġ= Ġbuf . read Byte () ĊĠĠĠĠĠĠĠ Ġval Ġchat Mode Ġ= ĠChat Mode . from Id ( buf . read Var Int ()) ĊĠĠĠĠĠĠĠ Ġval Ġchat Colors Ġ= Ġbuf . read Boolean () ĊĠĠĠĠĠĠĠ Ġval Ġskin Flags Ġ= Ġbuf . read Unsigned Byte (). to Skin Settings () ĊĠĠĠĠĠĠĠ Ġval Ġmain Hand Ġ= ĠMain Hand . from Id ( buf . read Var Int ()) ĊĊĠĠĠĠĠĠĠ Ġsettings Ġ= ĠClient Settings ( locale , Ġview Distance , Ġchat Mode , Ġchat Colors , Ġskin Flags , Ġmain Hand ) ĊĠĠĠ Ġ} Ċ }