mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-25 10:25:50 +07:00
Organized packets better (going to add d2gs, mcp and perhaps bnls)
This commit is contained in:
parent
172f7180da
commit
dace9e31e9
@ -22,7 +22,7 @@ eclipse.project {
|
||||
}
|
||||
|
||||
task createFlatBuffers(type: FlatBuffers) {
|
||||
inputDir = file("src/com/riiablo/net/packet")
|
||||
inputDir = file("src/com/riiablo/net/")
|
||||
outputDir = file("gen/")
|
||||
language = 'java'
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace com.riiablo.net.packet;
|
||||
namespace com.riiablo.net.packet.d2gs;
|
||||
|
||||
table Connection {
|
||||
MCPCookie:uint32;
|
@ -4,9 +4,9 @@ include "RunToLocation.fbs";
|
||||
include "RunToEntity.fbs";
|
||||
include "Connection.fbs";
|
||||
|
||||
namespace com.riiablo.net.packet;
|
||||
namespace com.riiablo.net.packet.d2gs;
|
||||
|
||||
union PacketData {
|
||||
union D2GSData {
|
||||
WalkToLocation,
|
||||
WalkToEntity,
|
||||
RunToLocation,
|
||||
@ -14,8 +14,8 @@ union PacketData {
|
||||
Connection
|
||||
}
|
||||
|
||||
table Packet {
|
||||
data:PacketData;
|
||||
table D2GS {
|
||||
data:D2GSData;
|
||||
}
|
||||
|
||||
root_type Packet;
|
||||
root_type D2GS;
|
@ -1,4 +1,4 @@
|
||||
namespace com.riiablo.net.packet;
|
||||
namespace com.riiablo.net.packet.d2gs;
|
||||
|
||||
table RunToEntity {
|
||||
type:int32;
|
@ -1,4 +1,4 @@
|
||||
namespace com.riiablo.net.packet;
|
||||
namespace com.riiablo.net.packet.d2gs;
|
||||
|
||||
table RunToLocation {
|
||||
x:int16;
|
@ -1,4 +1,4 @@
|
||||
namespace com.riiablo.net.packet;
|
||||
namespace com.riiablo.net.packet.d2gs;
|
||||
|
||||
table WalkToEntity {
|
||||
type:int32;
|
@ -1,4 +1,4 @@
|
||||
namespace com.riiablo.net.packet;
|
||||
namespace com.riiablo.net.packet.d2gs;
|
||||
|
||||
table WalkToLocation {
|
||||
x:int16;
|
Loading…
Reference in New Issue
Block a user