Exemple #1
0
 protected override void EncodeImpl(sul.Utils.Buffer _buffer)
 {
     _buffer.WriteVarlong(from);
     _buffer.WriteVarlong(to);
     _buffer.WriteUbyte(action);
     _buffer.WriteUbyte(unknown3);
 }
Exemple #2
0
 protected override void EncodeImpl(sul.Utils.Buffer _buffer)
 {
     _buffer.WriteUuid(uuid);
     _buffer.WriteVarlong(entityId);
     _buffer.WriteVaruint(Encoding.UTF8.GetByteCount(displayName)); _buffer.WriteString(displayName);
     skin.EncodeBody(_buffer);
 }