Esempio n. 1
0
File: proto.go Progetto: gonet2/game
func (p S_user_login_info) Pack(w *packet.Packet) {
	w.WriteS32(p.F_login_way)
	w.WriteString(p.F_open_udid)
	w.WriteString(p.F_client_certificate)
	w.WriteS32(p.F_client_version)
	w.WriteString(p.F_user_lang)
	w.WriteString(p.F_app_id)
	w.WriteString(p.F_os_version)
	w.WriteString(p.F_device_name)
	w.WriteString(p.F_device_id)
	w.WriteS32(p.F_device_id_type)
	w.WriteString(p.F_login_ip)

}
Esempio n. 2
0
File: proto.go Progetto: gonet2/game
func (p S_user_snapshot) Pack(w *packet.Packet) {
	w.WriteS32(p.F_uid)

}
Esempio n. 3
0
File: proto.go Progetto: gonet2/game
func (p S_seed_info) Pack(w *packet.Packet) {
	w.WriteS32(p.F_client_send_seed)
	w.WriteS32(p.F_client_receive_seed)

}
Esempio n. 4
0
File: proto.go Progetto: gonet2/game
func (p S_error_info) Pack(w *packet.Packet) {
	w.WriteS32(p.F_code)
	w.WriteString(p.F_msg)

}
Esempio n. 5
0
File: proto.go Progetto: gonet2/game
func (p S_auto_id) Pack(w *packet.Packet) {
	w.WriteS32(p.F_id)

}