-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathAPI
80 lines (75 loc) · 3.37 KB
/
API
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
73
74
75
76
77
78
79
80
### users:
users::get_status
users::get_entities |*args|
users::register |user|
users::confirm_register |registration_code|
users::login |user|
users::logout |session_id|
users::update_user |user|
users::update_attribute |user_id, attribute_id, change|
users::has_attribute |*args|
users::create_user |user|
users::create_role |role|
users::add_role |user_id, role_id|
users::remove_role |user_id, role_id|
users::add_privilege |*args|
users::remove_privilege |*args|
users::subscribe_to |event_type|
users::unsubscribe |event_type|
users::save_state |output|
users::restore_state |input|
### stats:
stats::get_stats |*args|
### manufactured:
manufactured::add_resource |entity_id, resource|
manufactured::transfer_resource |*args|
manufactured::get_cmd |cmd_id|
manufactured::get_status
manufactured::dock |ship_id, station_id|
manufactured::undock |ship_id|
manufactured::admin_set |entity|
manufactured::admin_run_callbacks |entity_id, *args|
manufactured::get_entities |*args|
manufactured::collect_loot |ship_id, loot_id|
manufactured::start_mining |ship_id, resource_id|
manufactured::validate_user_attributes |entities, entity|
manufactured::create_entity |entity|
manufactured::construct_entity |manufacturer_id, *args|
manufactured::move_entity |id, loc|
manufactured::follow_entity |id, target_id, distance|
manufactured::stop_entity |id|
manufactured::subscribe_to |*args|
manufactured::remove_callbacks |*args|
manufactured::save_state |output|
manufactured::restore_state |input|
manufactured::attack_entity |attacker_id, defender_id|
### cosmos:
cosmos::set_resource |resource|
cosmos::get_resource |resource_id|
cosmos::get_resources |entity_id|
cosmos::get_entities |*args|
cosmos::interconnects |galaxy_id|
cosmos::create_entity |entity|
cosmos::save_state |output|
cosmos::restore_state |input|
### missions:
missions::get_status
missions::get_missions |*args|
missions::add_hook |handler|
missions::assign_mission |mission_id, user_id|
missions::create_event |event|
missions::create_mission |mission|
missions::subscribe_to |event_type, *args|
missions::unsubscribe |event_type|
missions::save_state |output|
missions::restore_state |input|
### motel:
motel::get_status
motel::get_location |*args|
motel::update_location |loc|
motel::delete_location |loc_id|
motel::create_location |loc|
motel::track_handler |*args|
motel::remove_callbacks |*args|
motel::save_state |output|
motel::restore_state |input|