mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 16:34:51 +01:00
Implement MsgSysPositionObject Build
This commit is contained in:
@@ -27,5 +27,9 @@ func (m *MsgSysPositionObject) Parse(bf *byteframe.ByteFrame) error {
|
|||||||
|
|
||||||
// Build builds a binary packet from the current data.
|
// Build builds a binary packet from the current data.
|
||||||
func (m *MsgSysPositionObject) Build(bf *byteframe.ByteFrame) error {
|
func (m *MsgSysPositionObject) Build(bf *byteframe.ByteFrame) error {
|
||||||
panic("Not implemented")
|
bf.WriteUint32(m.ObjID)
|
||||||
|
bf.WriteFloat32(m.X)
|
||||||
|
bf.WriteFloat32(m.Y)
|
||||||
|
bf.WriteFloat32(m.Z)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
@@ -532,7 +532,9 @@ func handleMsgSysSetUserBinary(s *Session, p mhfpacket.MHFPacket) {
|
|||||||
//pkt := p.(*mhfpacket.MsgSysSetUserBinary)
|
//pkt := p.(*mhfpacket.MsgSysSetUserBinary)
|
||||||
}
|
}
|
||||||
|
|
||||||
func handleMsgSysGetUserBinary(s *Session, p mhfpacket.MHFPacket) {}
|
func handleMsgSysGetUserBinary(s *Session, p mhfpacket.MHFPacket) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
func handleMsgSysNotifyUserBinary(s *Session, p mhfpacket.MHFPacket) {}
|
func handleMsgSysNotifyUserBinary(s *Session, p mhfpacket.MHFPacket) {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user