Skip to content

Commit 64130b3

Browse files
committed
v0.0.4
1 parent 729db85 commit 64130b3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

mcdreforged.plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "packet_parser",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"name": "PacketParser",
55
"author": [
66
"zyxkad"

packet_parser/commandnode/node.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,13 @@ def get_id_map(protocol: int) -> list[str]:
284284

285285
@final
286286
class Node:
287+
ROOT = 0x00
288+
LITERAL = 0x01
289+
ARGUMENT = 0x02
290+
EXECUTABLE_FLAG = 0x04
291+
REDIRECT_FLAG = 0x08
292+
SUGGESTIONS_FLAG = 0x10
293+
287294
def __init__(self,
288295
protocol: int,
289296
flags: int, # Byte

0 commit comments

Comments
 (0)