2021-11-29 07:46:02 +01:00

12 lines
181 B
Go

package commands
type Serializeable interface {
MarshalPacket() ([]byte, error)
UnmarshalPacket([]byte) error
}
type Command interface {
Serializeable
GetCommandId() uint16
}