Type out snap items for libtw2 json
This commit is contained in:
parent
0794cbe0a6
commit
08f71f60a2
|
@ -88,12 +88,23 @@ class NetConnlessJson(TypedDict):
|
|||
name: list[str]
|
||||
members: list[NetConnlessMemberJson]
|
||||
|
||||
class SnapObjMemberJson(TypedDict):
|
||||
name: list[str]
|
||||
type: NetMessageMemberTypeJson
|
||||
|
||||
class SnapObjJson(TypedDict):
|
||||
id: int
|
||||
name: list[str]
|
||||
members: list[SnapObjMemberJson]
|
||||
attributes: list[str]
|
||||
|
||||
class SpecJson(TypedDict):
|
||||
constants: list[ConstantJson]
|
||||
game_enumerations: list[GameEnumJson]
|
||||
game_messages: list[NetMessageJson]
|
||||
system_messages: list[NetMessageJson]
|
||||
connless_messages: list[NetConnlessJson]
|
||||
snapshot_objects: list[SnapObjJson]
|
||||
|
||||
def gen_match_file_connless7(
|
||||
messages: list[NetConnlessJson]
|
||||
|
|
Loading…
Reference in a new issue