Пример #1
0
func (p *CharacterList) Handler(netes network.Netes) PillFactory {
	netes.WriteUint16(uint16(0))
	netes.WriteBytes([]byte{0x00, 0x08, 0x7C, 0x35, 0x09, 0x19, 0xB2, 0x50, 0xD3, 0x49})
	netes.WriteUint8(uint8(0))
	netes.WriteUint8(uint8(1))
	netes.WriteUint32(uint32(0))
	netes.WriteUint32(uint32(12820))

	return p
}
Пример #2
0
func (cl *CharacterListCrumb) PostHandler(netes network.Netes) string {
	netes.WriteUint16(uint16(0))
	netes.WriteBytes([]byte{0x00, 0x08, 0x7C, 0x35, 0x09, 0x19, 0xB2, 0x50, 0xD3, 0x49})
	netes.WriteUint8(uint8(0))
	netes.WriteUint8(uint8(1))
	netes.WriteUint32(uint32(0))
	netes.WriteUint32(uint32(12820))

	return string(netes.Bytes())
}