forked from StarryPy/StarryPy3k
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackets.py
70 lines (68 loc) · 1.89 KB
/
packets.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from utilities import BiDict
packets = BiDict({
'protocol_request': 0,
'protocol_response': 1,
'server_disconnect': 2,
'connect_success': 3,
'connect_failure': 4,
'handshake_challenge': 5,
'chat_received': 6,
'universe_time_update': 7,
'celestial_response': 8,
'player_warp_result': 9,
'planet_type_update': 10,
'pause': 11,
'client_connect': 12,
'client_disconnect_request': 13,
'handshake_response': 14,
'player_warp': 15,
'fly_ship': 16,
'chat_sent': 17,
'celestial_request': 18,
'client_context_update': 19,
'world_start': 20,
'world_stop': 21,
'world_layout_update': 22,
'world_parameters_update': 23,
'central_structure_update': 24,
'tile_array_update': 25,
'tile_update': 26,
'tile_liquid_update': 27,
'tile_damage_update': 28,
'tile_modification_failure': 29,
'give_item': 30,
'environment_update': 31,
'update_tile_protection': 32,
'set_dungeon_gravity': 33,
'set_dungeon_breathable': 34,
'set_player_start': 35,
'find_unique_entity_response': 36,
'modify_tile_list': 37,
'damage_tile_group': 38,
'collect_liquid': 39,
'request_drop': 40,
'spawn_entity': 41,
'connect_wire': 42,
'disconnect_all_wires': 43,
'world_client_state_update': 44,
'find_unique_entity': 45,
'unk': 46,
'entity_create': 47,
'entity_update': 48,
'entity_destroy': 49,
'entity_interact': 50,
'entity_interact_result': 51,
'hit_request': 52,
'damage_request': 53,
'damage_notification': 54,
'entity_message': 55,
'entity_message_response': 56,
'update_world_properties': 57,
'step_update': 58,
'system_world_start': 59,
'system_world_update': 60,
'system_object_create': 61,
'system_object_destroy': 62,
'system_ship_create': 63,
'system_ship_destroy': 64,
'system_object_spawn': 65})