mirror of
https://gitea.tendokyu.moe/AttackVector/AVNetwork.git
synced 2026-09-24 23:28:02 +03:00
67 lines
1.9 KiB
Python
67 lines
1.9 KiB
Python
standardEACNet = '''
|
|
<eacnet>
|
|
<status __type="s32">{status}</status>
|
|
<error_code __type="s32">{error}</error_code>
|
|
<response>
|
|
{response}
|
|
</response>
|
|
</eacnet>'''
|
|
|
|
standardIIDX = '''
|
|
<p2d>
|
|
<status __type="s32">{status}</status>
|
|
<error_code __type="s32">{error}</error_code>
|
|
<result>
|
|
{response}
|
|
</result>
|
|
</p2d>'''
|
|
|
|
genericError = '''<{protocol}>
|
|
<status __type="s32">1</status>
|
|
<{result} />
|
|
<error __type="s32">1</error>
|
|
</{protocol}>'''
|
|
|
|
heartbeat = '''
|
|
<{protocol}>
|
|
<status __type="s32">0</status>
|
|
<error __type="s32">0</error>
|
|
<{result}>
|
|
<state __type="s32">1</state>
|
|
<server_state __type="s32">1</server_state>
|
|
<subscription_status __type="s32">0</subscription_status>
|
|
<token __type="str">{token}</token>
|
|
<next_clock __type="u64">{nextClock}</next_clock>
|
|
<time_remain __type="s32">{timeRemain}</time_remain>
|
|
<mainte_start_clock __type="u64">1730145600000</mainte_start_clock>
|
|
<mainte_end_clock __type="u64">1730152800000</mainte_end_clock>
|
|
<usta_boot_status __type="s32">1</usta_boot_status>
|
|
<usta_time_remain __type="s32">0</usta_time_remain>
|
|
</{result}>
|
|
</{protocol}>
|
|
'''
|
|
|
|
itemList = '''
|
|
<{protocol}>
|
|
<status __type="s32">0</status>
|
|
<error __type="s32">0</error>
|
|
<{result}>
|
|
<item_list>
|
|
</item_list>
|
|
</{result}>
|
|
</{protocol}>
|
|
'''
|
|
|
|
serverClock = '''<{protocol}>
|
|
<status __type="s32">0</status>
|
|
<error __type="s32">0</error>
|
|
<{result}>
|
|
<server_clock __type="u64">{Clock}</server_clock>
|
|
</{result}>
|
|
</{protocol}>'''
|
|
|
|
|
|
ReservePoint = '<result>\n <transaction_id __type="str">dummy_transaction_id</transaction_id>\n </result>\n'
|
|
ReserveItem = '<result>\n <list_num __type="s32">0</list_num>\n </result>\n'
|
|
ReserveItemEAC = '<transaction_id __type="str">dummy_transaction_id</transaction_id>\n'
|
|
consumeItemEAC = '<item_id __type="str">{item_id}</item_id>\n <not_free_count __type="s32">{tickets}</not_free_count>\n <free_count __type="s32">0</free_count>\n' |