Commit 4d2422e8 authored by nanahira's avatar nanahira

struct of STOC_DECK_COUNT

parent 983194e1
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
"6": "TP_RESULT", "6": "TP_RESULT",
"7": "CHANGE_SIDE", "7": "CHANGE_SIDE",
"8": "WAITING_SIDE", "8": "WAITING_SIDE",
"9": "DECK_COUNT",
"17": "CREATE_GAME", "17": "CREATE_GAME",
"18": "JOIN_GAME", "18": "JOIN_GAME",
"19": "TYPE_CHANGE", "19": "TYPE_CHANGE",
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"HAND_RESULT": "STOC_HandResult", "HAND_RESULT": "STOC_HandResult",
"REPLAY": "", "REPLAY": "",
"TIME_LIMIT": "STOC_TimeLimit", "TIME_LIMIT": "STOC_TimeLimit",
"CHAT": "STOC_Chat" "CHAT": "STOC_Chat",
"DECK_COUNT": "STOC_DeckCount"
} }
} }
...@@ -99,5 +99,13 @@ ...@@ -99,5 +99,13 @@
], ],
"chat": [ "chat": [
{"name": "msg", "type": "unsigned short", "length":"255", "encoding": "UTF-16LE"} {"name": "msg", "type": "unsigned short", "length":"255", "encoding": "UTF-16LE"}
],
"STOC_DeckCount": [
{"name": "mainc_s", "type": "unsigned short"},
{"name": "sidec_s", "type": "unsigned short"},
{"name": "extrac_s", "type": "unsigned short"},
{"name": "mainc_o", "type": "unsigned short"},
{"name": "sidec_o", "type": "unsigned short"},
{"name": "extrac_o", "type": "unsigned short"}
] ]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment