forked from StarryPy/StarryPy3k
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackets.py
73 lines (71 loc) · 1.96 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
70
71
72
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,
'server_info': 12,
'client_connect': 13,
'client_disconnect_request': 14,
'handshake_response': 15,
'player_warp': 16,
'fly_ship': 17,
'chat_sent': 18,
'celestial_request': 19,
'client_context_update': 20,
'world_start': 21,
'world_stop': 22,
'world_layout_update': 23,
'world_parameters_update': 24,
'central_structure_update': 25,
'tile_array_update': 26,
'tile_update': 27,
'tile_liquid_update': 28,
'tile_damage_update': 29,
'tile_modification_failure': 30,
'give_item': 31,
'environment_update': 32,
'update_tile_protection': 33,
'set_dungeon_gravity': 34,
'set_dungeon_breathable': 35,
'set_player_start': 36,
'find_unique_entity_response': 37,
'pong': 38,
'modify_tile_list': 39,
'damage_tile_group': 40,
'collect_liquid': 41,
'request_drop': 42,
'spawn_entity': 43,
'connect_wire': 44,
'disconnect_all_wires': 45,
'world_client_state_update': 46,
'find_unique_entity': 47,
'world_start_acknowledge': 48,
'ping': 49,
'entity_create': 50,
'entity_update': 51,
'entity_destroy': 52,
'entity_interact': 53,
'entity_interact_result': 54,
'hit_request': 55,
'damage_request': 56,
'damage_notification': 57,
'entity_message': 58,
'entity_message_response': 59,
'update_world_properties': 60,
'step_update': 61,
'system_world_start': 62,
'system_world_update': 63,
'system_object_create': 64,
'system_object_destroy': 65,
'system_ship_create': 66,
'system_ship_destroy': 67,
'system_object_spawn': 68})