mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-19 16:57:20 +07:00
Added some additional packet types
This commit is contained in:
parent
140e6bfad8
commit
a5db1b4e48
@ -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
|
||||
}
|
||||
|
||||
|
6
core/src/com/riiablo/net/packet/RunToEntity.fbs
Normal file
6
core/src/com/riiablo/net/packet/RunToEntity.fbs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace com.riiablo.net.packet;
|
||||
|
||||
table RunToEntity {
|
||||
type:int32;
|
||||
id:int32;
|
||||
}
|
6
core/src/com/riiablo/net/packet/RunToLocation.fbs
Normal file
6
core/src/com/riiablo/net/packet/RunToLocation.fbs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace com.riiablo.net.packet;
|
||||
|
||||
table RunToLocation {
|
||||
x:int16;
|
||||
y:int16;
|
||||
}
|
6
core/src/com/riiablo/net/packet/WalkToEntity.fbs
Normal file
6
core/src/com/riiablo/net/packet/WalkToEntity.fbs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace com.riiablo.net.packet;
|
||||
|
||||
table WalkToEntity {
|
||||
type:int32;
|
||||
id:int32;
|
||||
}
|
Loading…
Reference in New Issue
Block a user