1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-09-16 08:18:19 -04:00
OpenDiablo2/d2networking/d2netpacket/d2netpackettype/message_type.go
Tim Sarbin 52f8cd6d0c
Initial work to separate client and server logic (#330)
* Switched to json formatted characters

* Added infrastructure for networking

* Minor updates.

* more updates for map engine/rendering

* More map engine changes and fixes
2020-06-13 18:32:09 -04:00

13 lines
299 B
Go

package d2netpackettype
type NetPacketType uint32
// Warning: Do NOT re-arrange the order of these packet values unless you want to
// break compatibility between clients of slightly different versions.
const (
UpdateServerInfo NetPacketType = iota
GenerateMap
AddPlayer
MovePlayer
)