diff --git a/core/src/com/riiablo/net/packet/Packet.fbs b/core/src/com/riiablo/net/packet/Packet.fbs index 34262b04..bc6e290e 100644 --- a/core/src/com/riiablo/net/packet/Packet.fbs +++ b/core/src/com/riiablo/net/packet/Packet.fbs @@ -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 } diff --git a/core/src/com/riiablo/net/packet/RunToEntity.fbs b/core/src/com/riiablo/net/packet/RunToEntity.fbs new file mode 100644 index 00000000..56e47107 --- /dev/null +++ b/core/src/com/riiablo/net/packet/RunToEntity.fbs @@ -0,0 +1,6 @@ +namespace com.riiablo.net.packet; + +table RunToEntity { + type:int32; + id:int32; +} \ No newline at end of file diff --git a/core/src/com/riiablo/net/packet/RunToLocation.fbs b/core/src/com/riiablo/net/packet/RunToLocation.fbs new file mode 100644 index 00000000..2d423619 --- /dev/null +++ b/core/src/com/riiablo/net/packet/RunToLocation.fbs @@ -0,0 +1,6 @@ +namespace com.riiablo.net.packet; + +table RunToLocation { + x:int16; + y:int16; +} \ No newline at end of file diff --git a/core/src/com/riiablo/net/packet/WalkToEntity.fbs b/core/src/com/riiablo/net/packet/WalkToEntity.fbs new file mode 100644 index 00000000..39751ddc --- /dev/null +++ b/core/src/com/riiablo/net/packet/WalkToEntity.fbs @@ -0,0 +1,6 @@ +namespace com.riiablo.net.packet; + +table WalkToEntity { + type:int32; + id:int32; +} \ No newline at end of file