mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-09 10:28:25 +07:00
Aggregated Connection and Disconnect fbs into Networking fbs
Removed old individual fbs for Connection and Disconnect Reordered D2GSData to group Networking packets
This commit is contained in:
parent
ff34dea994
commit
da53dabad6
@ -10,8 +10,8 @@ public final class D2GSData {
|
||||
public static final byte RunToLocation = 3;
|
||||
public static final byte RunToEntity = 4;
|
||||
public static final byte Connection = 5;
|
||||
public static final byte EntitySync = 6;
|
||||
public static final byte Disconnect = 7;
|
||||
public static final byte Disconnect = 6;
|
||||
public static final byte EntitySync = 7;
|
||||
public static final byte GroundToCursor = 8;
|
||||
public static final byte CursorToGround = 9;
|
||||
public static final byte StoreToCursor = 10;
|
||||
@ -24,7 +24,7 @@ public final class D2GSData {
|
||||
public static final byte CursorToBelt = 17;
|
||||
public static final byte SwapBeltItem = 18;
|
||||
|
||||
public static final String[] names = { "NONE", "WalkToLocation", "WalkToEntity", "RunToLocation", "RunToEntity", "Connection", "EntitySync", "Disconnect", "GroundToCursor", "CursorToGround", "StoreToCursor", "CursorToStore", "SwapStoreItem", "BodyToCursor", "CursorToBody", "SwapBodyItem", "BeltToCursor", "CursorToBelt", "SwapBeltItem", };
|
||||
public static final String[] names = { "NONE", "WalkToLocation", "WalkToEntity", "RunToLocation", "RunToEntity", "Connection", "Disconnect", "EntitySync", "GroundToCursor", "CursorToGround", "StoreToCursor", "CursorToStore", "SwapStoreItem", "BodyToCursor", "CursorToBody", "SwapBodyItem", "BeltToCursor", "CursorToBelt", "SwapBeltItem", };
|
||||
|
||||
public static String name(int e) { return names[e]; }
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
include "Connection.fbs";
|
||||
include "Disconnect.fbs";
|
||||
include "Networking.fbs";
|
||||
include "PlayerController.fbs";
|
||||
include "Sync.fbs";
|
||||
include "ItemManagement.fbs";
|
||||
@ -12,8 +11,8 @@ union D2GSData {
|
||||
RunToLocation,
|
||||
RunToEntity,
|
||||
Connection,
|
||||
EntitySync,
|
||||
Disconnect,
|
||||
EntitySync,
|
||||
GroundToCursor,
|
||||
CursorToGround,
|
||||
StoreToCursor,
|
||||
|
@ -1,8 +0,0 @@
|
||||
namespace com.riiablo.net.packet.d2gs;
|
||||
|
||||
table Disconnect {
|
||||
// request
|
||||
entityId:int32;
|
||||
|
||||
// response
|
||||
}
|
@ -11,4 +11,11 @@ table Connection {
|
||||
|
||||
// response
|
||||
entityId:int32;
|
||||
}
|
||||
|
||||
table Disconnect {
|
||||
// request
|
||||
entityId:int32;
|
||||
|
||||
// response
|
||||
}
|
Loading…
Reference in New Issue
Block a user