mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-06 19:44:15 -04:00
* Switched to json formatted characters * Added infrastructure for networking * Minor updates. * more updates for map engine/rendering * More map engine changes and fixes
9 lines
257 B
Go
9 lines
257 B
Go
package d2netpacket
|
|
|
|
import "github.com/OpenDiablo2/OpenDiablo2/d2networking/d2netpacket/d2netpackettype"
|
|
|
|
type NetPacket struct {
|
|
PacketType d2netpackettype.NetPacketType `json:"packetType"`
|
|
PacketData interface{} `json:"packetData"`
|
|
}
|