Added some additional packet types

This commit is contained in:
Collin Smith 2019-04-11 15:51:25 -07:00
parent 140e6bfad8
commit a5db1b4e48
4 changed files with 24 additions and 0 deletions

View File

@ -1,10 +1,16 @@
include "WalkToLocation.fbs";
include "WalkToEntity.fbs";
include "RunToLocation.fbs";
include "RunToEntity.fbs";
include "Connection.fbs";
namespace com.riiablo.net.packet;
union PacketData {
WalkToLocation,
WalkToEntity,
RunToLocation,
RunToEntity,
Connection
}

View File

@ -0,0 +1,6 @@
namespace com.riiablo.net.packet;
table RunToEntity {
type:int32;
id:int32;
}

View File

@ -0,0 +1,6 @@
namespace com.riiablo.net.packet;
table RunToLocation {
x:int16;
y:int16;
}

View File

@ -0,0 +1,6 @@
namespace com.riiablo.net.packet;
table WalkToEntity {
type:int32;
id:int32;
}