fix compile errors
This commit is contained in:
parent
877c1cdb98
commit
fb80ca3f79
41 changed files with 606 additions and 562 deletions
|
|
@ -0,0 +1,38 @@
|
|||
@file:JsQualifier("defines.control_behavior")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class type {
|
||||
container,
|
||||
generic_on_off,
|
||||
inserter,
|
||||
lamp,
|
||||
logistic_container,
|
||||
roboport,
|
||||
storage_tank,
|
||||
train_stop,
|
||||
decider_combinator,
|
||||
arithmetic_combinator,
|
||||
constant_combinator,
|
||||
transport_belt,
|
||||
accumulator,
|
||||
rail_signal,
|
||||
rail_chain_signal,
|
||||
wall,
|
||||
mining_drill,
|
||||
programmable_speaker
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
@file:JsQualifier("defines.control_behavior.inserter")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior.inserter
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class circuit_mode_of_operation {
|
||||
none,
|
||||
enable_disable,
|
||||
set_filters,
|
||||
read_hand_contents,
|
||||
set_stack_size
|
||||
}
|
||||
|
||||
external enum class hand_read_mode {
|
||||
hold,
|
||||
pulse
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
@file:JsQualifier("defines.control_behavior.lamp")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior.lamp
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class circuit_mode_of_operation {
|
||||
use_colors
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
@file:JsQualifier("defines.control_behavior.logistic_container")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior.logistic_container
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class circuit_mode_of_operation {
|
||||
send_contents,
|
||||
set_requests
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
@file:JsQualifier("defines.control_behavior.mining_drill")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior.mining_drill
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class resource_read_mode {
|
||||
this_miner,
|
||||
entire_patch
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
@file:JsQualifier("defines.control_behavior.transport_belt")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.control_behavior.transport_belt
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class content_read_mode {
|
||||
pulse,
|
||||
hold
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
@file:JsQualifier("defines.deconstruction_item")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.deconstruction_item
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class entity_filter_mode {
|
||||
whitelist,
|
||||
blacklist
|
||||
}
|
||||
|
||||
external enum class tile_filter_mode {
|
||||
whitelist,
|
||||
blacklist
|
||||
}
|
||||
|
||||
external enum class tile_selection_mode {
|
||||
normal,
|
||||
always,
|
||||
never,
|
||||
only
|
||||
}
|
||||
|
|
@ -0,0 +1,668 @@
|
|||
@file:JsQualifier("defines")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class alert_type {
|
||||
entity_destroyed,
|
||||
entity_under_attack,
|
||||
not_enough_construction_robots,
|
||||
no_material_for_construction,
|
||||
not_enough_repair_packs,
|
||||
turret_fire,
|
||||
custom,
|
||||
no_storage,
|
||||
train_out_of_fuel
|
||||
}
|
||||
|
||||
external enum class behavior_result {
|
||||
in_progress,
|
||||
fail,
|
||||
success,
|
||||
deleted
|
||||
}
|
||||
|
||||
external enum class build_check_type {
|
||||
script,
|
||||
manual,
|
||||
manual_ghost,
|
||||
script_ghost,
|
||||
blueprint_ghost,
|
||||
ghost_revive
|
||||
}
|
||||
|
||||
external enum class chain_signal_state {
|
||||
none,
|
||||
all_open,
|
||||
partially_open,
|
||||
none_open
|
||||
}
|
||||
|
||||
external enum class chunk_generated_status {
|
||||
nothing,
|
||||
custom_tiles,
|
||||
basic_tiles,
|
||||
corrected_tiles,
|
||||
tiles,
|
||||
entities
|
||||
}
|
||||
|
||||
external enum class circuit_condition_index {
|
||||
inserter_circuit,
|
||||
inserter_logistic,
|
||||
lamp,
|
||||
arithmetic_combinator,
|
||||
decider_combinator,
|
||||
constant_combinator,
|
||||
offshore_pump,
|
||||
pump
|
||||
}
|
||||
|
||||
external enum class circuit_connector_id {
|
||||
accumulator,
|
||||
constant_combinator,
|
||||
container,
|
||||
programmable_speaker,
|
||||
rail_signal,
|
||||
rail_chain_signal,
|
||||
roboport,
|
||||
storage_tank,
|
||||
wall,
|
||||
electric_pole,
|
||||
inserter,
|
||||
lamp,
|
||||
combinator_input,
|
||||
combinator_output,
|
||||
offshore_pump,
|
||||
pump
|
||||
}
|
||||
|
||||
external enum class command {
|
||||
attack /* = 0 */,
|
||||
go_to_location /* = 1 */,
|
||||
compound /* = 2 */,
|
||||
group /* = 3 */,
|
||||
attack_area /* = 4 */,
|
||||
wander /* = 5 */,
|
||||
flee /* = 6 */,
|
||||
stop /* = 7 */,
|
||||
build_base /* = 8 */
|
||||
}
|
||||
|
||||
external enum class compound_command {
|
||||
logical_and,
|
||||
logical_or,
|
||||
return_last
|
||||
}
|
||||
|
||||
external enum class controllers {
|
||||
ghost,
|
||||
character,
|
||||
god,
|
||||
editor,
|
||||
cutscene,
|
||||
spectator
|
||||
}
|
||||
|
||||
external enum class difficulty {
|
||||
easy,
|
||||
normal,
|
||||
hard
|
||||
}
|
||||
|
||||
external enum class direction {
|
||||
north /* = 0 */,
|
||||
northeast /* = 1 */,
|
||||
east /* = 2 */,
|
||||
southeast /* = 3 */,
|
||||
south /* = 4 */,
|
||||
southwest /* = 5 */,
|
||||
west /* = 6 */,
|
||||
northwest /* = 7 */
|
||||
}
|
||||
|
||||
external enum class disconnect_reason {
|
||||
quit,
|
||||
dropped,
|
||||
reconnect,
|
||||
wrong_input,
|
||||
desync_limit_reached,
|
||||
cannot_keep_up,
|
||||
afk,
|
||||
kicked,
|
||||
kicked_and_deleted,
|
||||
banned,
|
||||
switching_servers
|
||||
}
|
||||
|
||||
external enum class distraction {
|
||||
none,
|
||||
by_enemy,
|
||||
by_anything,
|
||||
by_damage
|
||||
}
|
||||
|
||||
external enum class entity_status {
|
||||
working,
|
||||
normal,
|
||||
no_power,
|
||||
low_power,
|
||||
no_fuel,
|
||||
disabled_by_control_behavior,
|
||||
opened_by_circuit_network,
|
||||
closed_by_circuit_network,
|
||||
disabled_by_script,
|
||||
marked_for_deconstruction,
|
||||
not_plugged_in_electric_network,
|
||||
networks_connected,
|
||||
networks_disconnected,
|
||||
charging,
|
||||
discharging,
|
||||
fully_charged,
|
||||
out_of_logistic_network,
|
||||
no_recipe,
|
||||
no_ingredients,
|
||||
no_input_fluid,
|
||||
no_research_in_progress,
|
||||
no_minable_resources,
|
||||
low_input_fluid,
|
||||
fluid_ingredient_shortage,
|
||||
full_output,
|
||||
item_ingredient_shortage,
|
||||
missing_required_fluid,
|
||||
missing_science_packs,
|
||||
waiting_for_source_items,
|
||||
waiting_for_space_in_destination,
|
||||
preparing_rocket_for_launch,
|
||||
waiting_to_launch_rocket,
|
||||
launching_rocket,
|
||||
no_modules_to_transmit,
|
||||
recharging_after_power_outage,
|
||||
waiting_for_target_to_be_built,
|
||||
waiting_for_train,
|
||||
no_ammo,
|
||||
low_temperature,
|
||||
disabled,
|
||||
turned_off_during_daytime,
|
||||
not_connected_to_rail,
|
||||
cant_divide_segments
|
||||
}
|
||||
|
||||
external enum class flow_precision_index {
|
||||
five_seconds,
|
||||
one_minute,
|
||||
ten_minutes,
|
||||
one_hour,
|
||||
ten_hours,
|
||||
fifty_hours,
|
||||
two_hundred_fifty_hours,
|
||||
one_thousand_hours
|
||||
}
|
||||
|
||||
external enum class group_state {
|
||||
gathering,
|
||||
moving,
|
||||
attacking_distraction,
|
||||
attacking_target,
|
||||
finished,
|
||||
pathfinding,
|
||||
wander_in_group
|
||||
}
|
||||
|
||||
external enum class gui_type {
|
||||
none,
|
||||
entity,
|
||||
research,
|
||||
controller,
|
||||
production,
|
||||
item,
|
||||
bonus,
|
||||
trains,
|
||||
achievement,
|
||||
blueprint_library,
|
||||
equipment,
|
||||
logistic,
|
||||
other_player,
|
||||
permissions,
|
||||
tutorials,
|
||||
custom,
|
||||
server_management,
|
||||
player_management,
|
||||
tile
|
||||
}
|
||||
|
||||
external enum class input_action {
|
||||
activate_copy,
|
||||
activate_cut,
|
||||
activate_paste,
|
||||
add_permission_group,
|
||||
add_train_station,
|
||||
admin_action,
|
||||
alt_select_area,
|
||||
alt_select_blueprint_entities,
|
||||
alternative_copy,
|
||||
begin_mining,
|
||||
begin_mining_terrain,
|
||||
build,
|
||||
build_rail,
|
||||
build_terrain,
|
||||
cancel_craft,
|
||||
cancel_deconstruct,
|
||||
cancel_new_blueprint,
|
||||
cancel_research,
|
||||
cancel_upgrade,
|
||||
change_active_character_tab,
|
||||
change_active_item_group_for_crafting,
|
||||
change_active_item_group_for_filters,
|
||||
change_active_quick_bar,
|
||||
change_arithmetic_combinator_parameters,
|
||||
change_decider_combinator_parameters,
|
||||
change_entity_label,
|
||||
change_item_description,
|
||||
change_item_label,
|
||||
change_multiplayer_config,
|
||||
change_picking_state,
|
||||
change_programmable_speaker_alert_parameters,
|
||||
change_programmable_speaker_circuit_parameters,
|
||||
change_programmable_speaker_parameters,
|
||||
change_riding_state,
|
||||
change_shooting_state,
|
||||
change_train_stop_station,
|
||||
change_train_wait_condition,
|
||||
change_train_wait_condition_data,
|
||||
clear_cursor,
|
||||
connect_rolling_stock,
|
||||
copy,
|
||||
copy_entity_settings,
|
||||
copy_opened_blueprint,
|
||||
copy_opened_item,
|
||||
craft,
|
||||
cursor_split,
|
||||
cursor_transfer,
|
||||
custom_input,
|
||||
cycle_blueprint_book_backwards,
|
||||
cycle_blueprint_book_forwards,
|
||||
deconstruct,
|
||||
delete_blueprint_library,
|
||||
delete_blueprint_record,
|
||||
delete_custom_tag,
|
||||
delete_permission_group,
|
||||
destroy_item,
|
||||
destroy_opened_item,
|
||||
disconnect_rolling_stock,
|
||||
drag_train_schedule,
|
||||
drag_train_wait_condition,
|
||||
drop_blueprint_record,
|
||||
drop_item,
|
||||
edit_blueprint_tool_preview,
|
||||
edit_custom_tag,
|
||||
edit_permission_group,
|
||||
export_blueprint,
|
||||
fast_entity_split,
|
||||
fast_entity_transfer,
|
||||
flush_opened_entity_fluid,
|
||||
flush_opened_entity_specific_fluid,
|
||||
go_to_train_station,
|
||||
grab_blueprint_record,
|
||||
gui_checked_state_changed,
|
||||
gui_click,
|
||||
gui_confirmed,
|
||||
gui_elem_changed,
|
||||
gui_location_changed,
|
||||
gui_selected_tab_changed,
|
||||
gui_selection_state_changed,
|
||||
gui_switch_state_changed,
|
||||
gui_text_changed,
|
||||
gui_value_changed,
|
||||
import_blueprint,
|
||||
import_blueprint_string,
|
||||
import_blueprints_filtered,
|
||||
import_permissions_string,
|
||||
inventory_split,
|
||||
inventory_transfer,
|
||||
launch_rocket,
|
||||
lua_shortcut,
|
||||
map_editor_action,
|
||||
market_offer,
|
||||
mod_settings_changed,
|
||||
open_achievements_gui,
|
||||
open_blueprint_library_gui,
|
||||
open_blueprint_record,
|
||||
open_bonus_gui,
|
||||
open_character_gui,
|
||||
open_current_vehicle_gui,
|
||||
open_equipment,
|
||||
open_gui,
|
||||
open_item,
|
||||
open_logistic_gui,
|
||||
open_mod_item,
|
||||
open_parent_of_opened_item,
|
||||
open_production_gui,
|
||||
open_technology_gui,
|
||||
open_tips_and_tricks_gui,
|
||||
open_train_gui,
|
||||
open_train_station_gui,
|
||||
open_trains_gui,
|
||||
paste_entity_settings,
|
||||
place_equipment,
|
||||
quick_bar_pick_slot,
|
||||
quick_bar_set_selected_page,
|
||||
quick_bar_set_slot,
|
||||
reassign_blueprint,
|
||||
remove_cables,
|
||||
remove_train_station,
|
||||
reset_assembling_machine,
|
||||
reset_item,
|
||||
rotate_entity,
|
||||
select_area,
|
||||
select_blueprint_entities,
|
||||
select_entity_slot,
|
||||
select_item,
|
||||
select_mapper_slot,
|
||||
select_next_valid_gun,
|
||||
select_tile_slot,
|
||||
send_spidertron,
|
||||
set_auto_launch_rocket,
|
||||
set_autosort_inventory,
|
||||
set_behavior_mode,
|
||||
set_car_weapons_control,
|
||||
set_circuit_condition,
|
||||
set_circuit_mode_of_operation,
|
||||
set_controller_logistic_trash_filter_item,
|
||||
set_deconstruction_item_tile_selection_mode,
|
||||
set_deconstruction_item_trees_and_rocks_only,
|
||||
set_entity_color,
|
||||
set_entity_energy_property,
|
||||
set_entity_logistic_trash_filter_item,
|
||||
set_filter,
|
||||
set_flat_controller_gui,
|
||||
set_heat_interface_mode,
|
||||
set_heat_interface_temperature,
|
||||
set_infinity_container_filter_item,
|
||||
set_infinity_container_remove_unfiltered_items,
|
||||
set_infinity_pipe_filter,
|
||||
set_inserter_max_stack_size,
|
||||
set_inventory_bar,
|
||||
set_linked_container_link_i_d,
|
||||
set_logistic_filter_item,
|
||||
set_logistic_filter_signal,
|
||||
set_player_color,
|
||||
set_recipe_notifications,
|
||||
set_request_from_buffers,
|
||||
set_research_finished_stops_game,
|
||||
set_signal,
|
||||
set_splitter_priority,
|
||||
set_train_stopped,
|
||||
set_trains_limit,
|
||||
set_vehicle_automatic_targeting_parameters,
|
||||
setup_assembling_machine,
|
||||
setup_blueprint,
|
||||
setup_single_blueprint_record,
|
||||
smart_pipette,
|
||||
spawn_item,
|
||||
stack_split,
|
||||
stack_transfer,
|
||||
start_repair,
|
||||
start_research,
|
||||
start_walking,
|
||||
stop_building_by_moving,
|
||||
switch_connect_to_logistic_network,
|
||||
switch_constant_combinator_state,
|
||||
switch_inserter_filter_mode_state,
|
||||
switch_power_switch_state,
|
||||
switch_to_rename_stop_gui,
|
||||
take_equipment,
|
||||
toggle_deconstruction_item_entity_filter_mode,
|
||||
toggle_deconstruction_item_tile_filter_mode,
|
||||
toggle_driving,
|
||||
toggle_enable_vehicle_logistics_while_moving,
|
||||
toggle_entity_logistic_requests,
|
||||
toggle_equipment_movement_bonus,
|
||||
toggle_map_editor,
|
||||
toggle_personal_logistic_requests,
|
||||
toggle_personal_roboport,
|
||||
toggle_show_entity_info,
|
||||
translate_string,
|
||||
undo,
|
||||
upgrade,
|
||||
upgrade_opened_blueprint_by_item,
|
||||
upgrade_opened_blueprint_by_record,
|
||||
use_artillery_remote,
|
||||
use_item,
|
||||
wire_dragging,
|
||||
write_to_console
|
||||
}
|
||||
|
||||
external enum class inventory {
|
||||
fuel,
|
||||
burnt_result,
|
||||
chest,
|
||||
furnace_source,
|
||||
furnace_result,
|
||||
furnace_modules,
|
||||
character_main,
|
||||
character_guns,
|
||||
character_ammo,
|
||||
character_armor,
|
||||
character_vehicle,
|
||||
character_trash,
|
||||
god_main,
|
||||
editor_main,
|
||||
editor_guns,
|
||||
editor_ammo,
|
||||
editor_armor,
|
||||
roboport_robot,
|
||||
roboport_material,
|
||||
robot_cargo,
|
||||
robot_repair,
|
||||
assembling_machine_input,
|
||||
assembling_machine_output,
|
||||
assembling_machine_modules,
|
||||
lab_input,
|
||||
lab_modules,
|
||||
mining_drill_modules,
|
||||
item_main,
|
||||
rocket_silo_rocket,
|
||||
rocket_silo_result,
|
||||
rocket,
|
||||
car_trunk,
|
||||
car_ammo,
|
||||
cargo_wagon,
|
||||
turret_ammo,
|
||||
beacon_modules,
|
||||
character_corpse,
|
||||
artillery_turret_ammo,
|
||||
artillery_wagon_ammo,
|
||||
spider_trunk,
|
||||
spider_ammo,
|
||||
spider_trash
|
||||
}
|
||||
|
||||
external enum class logistic_member_index {
|
||||
logistic_container,
|
||||
vehicle_storage,
|
||||
character_requester,
|
||||
character_storage,
|
||||
character_provider,
|
||||
generic_on_off_behavior
|
||||
}
|
||||
|
||||
external enum class logistic_mode {
|
||||
none,
|
||||
active_provider,
|
||||
storage,
|
||||
requester,
|
||||
passive_provider,
|
||||
buffer
|
||||
}
|
||||
|
||||
external enum class mouse_button_type {
|
||||
none,
|
||||
left,
|
||||
right,
|
||||
middle
|
||||
}
|
||||
|
||||
external var prototypes: Any
|
||||
|
||||
external enum class rail_connection_direction {
|
||||
left,
|
||||
straight,
|
||||
right,
|
||||
none
|
||||
}
|
||||
|
||||
external enum class rail_direction {
|
||||
front,
|
||||
back
|
||||
}
|
||||
|
||||
external enum class relative_gui_position {
|
||||
top,
|
||||
bottom,
|
||||
left,
|
||||
right
|
||||
}
|
||||
|
||||
external enum class relative_gui_type {
|
||||
accumulator_gui,
|
||||
achievement_gui,
|
||||
additional_entity_info_gui,
|
||||
admin_gui,
|
||||
arithmetic_combinator_gui,
|
||||
armor_gui,
|
||||
assembling_machine_gui,
|
||||
assembling_machine_select_recipe_gui,
|
||||
beacon_gui,
|
||||
blueprint_book_gui,
|
||||
blueprint_library_gui,
|
||||
blueprint_setup_gui,
|
||||
bonus_gui,
|
||||
burner_equipment_gui,
|
||||
car_gui,
|
||||
constant_combinator_gui,
|
||||
container_gui,
|
||||
controller_gui,
|
||||
decider_combinator_gui,
|
||||
deconstruction_item_gui,
|
||||
electric_energy_interface_gui,
|
||||
electric_network_gui,
|
||||
entity_variations_gui,
|
||||
entity_with_energy_source_gui,
|
||||
equipment_grid_gui,
|
||||
furnace_gui,
|
||||
generic_on_off_entity_gui,
|
||||
heat_interface_gui,
|
||||
infinity_pipe_gui,
|
||||
inserter_gui,
|
||||
item_with_inventory_gui,
|
||||
lab_gui,
|
||||
lamp_gui,
|
||||
linked_container_gui,
|
||||
loader_gui,
|
||||
logistic_gui,
|
||||
market_gui,
|
||||
mining_drill_gui,
|
||||
other_player_gui,
|
||||
permissions_gui,
|
||||
pipe_gui,
|
||||
power_switch_gui,
|
||||
production_gui,
|
||||
programmable_speaker_gui,
|
||||
rail_chain_signal_gui,
|
||||
rail_signal_gui,
|
||||
reactor_gui,
|
||||
rename_stop_gui,
|
||||
resource_entity_gui,
|
||||
roboport_gui,
|
||||
rocket_silo_gui,
|
||||
server_config_gui,
|
||||
spider_vehicle_gui,
|
||||
splitter_gui,
|
||||
standalone_character_gui,
|
||||
storage_tank_gui,
|
||||
tile_variations_gui,
|
||||
train_gui,
|
||||
train_stop_gui,
|
||||
trains_gui,
|
||||
transport_belt_gui,
|
||||
upgrade_item_gui,
|
||||
wall_gui
|
||||
}
|
||||
|
||||
external enum class render_mode {
|
||||
game,
|
||||
chart,
|
||||
chart_zoomed_in
|
||||
}
|
||||
|
||||
external enum class rich_text_setting {
|
||||
enabled,
|
||||
disabled,
|
||||
highlight
|
||||
}
|
||||
|
||||
external enum class shooting {
|
||||
not_shooting,
|
||||
shooting_enemies,
|
||||
shooting_selected
|
||||
}
|
||||
|
||||
external enum class signal_state {
|
||||
open,
|
||||
closed,
|
||||
reserved,
|
||||
reserved_by_circuit_network
|
||||
}
|
||||
|
||||
external enum class train_state {
|
||||
on_the_path,
|
||||
path_lost,
|
||||
no_schedule,
|
||||
no_path,
|
||||
arrive_signal,
|
||||
wait_signal,
|
||||
arrive_station,
|
||||
wait_station,
|
||||
manual_control_stop,
|
||||
manual_control,
|
||||
destination_full
|
||||
}
|
||||
|
||||
external enum class transport_line {
|
||||
left_line,
|
||||
right_line,
|
||||
left_underground_line,
|
||||
right_underground_line,
|
||||
secondary_left_line,
|
||||
secondary_right_line,
|
||||
left_split_line,
|
||||
right_split_line,
|
||||
secondary_left_split_line,
|
||||
secondary_right_split_line
|
||||
}
|
||||
|
||||
external enum class wire_connection_id {
|
||||
electric_pole,
|
||||
power_switch_left,
|
||||
power_switch_right
|
||||
}
|
||||
|
||||
external enum class wire_type {
|
||||
red,
|
||||
green,
|
||||
copper
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
@file:JsQualifier("defines.difficulty_settings")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.difficulty_settings
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class recipe_difficulty {
|
||||
normal,
|
||||
expensive
|
||||
}
|
||||
|
||||
external enum class technology_difficulty {
|
||||
normal,
|
||||
expensive
|
||||
}
|
||||
|
|
@ -0,0 +1,364 @@
|
|||
@file:JsQualifier("defines.events")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.events
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
import uint
|
||||
|
||||
external var on_tick: uint /* uint & `T$93`<OnTickEvent, Unit> */
|
||||
|
||||
external var on_gui_click: uint /* uint & `T$93`<OnGuiClickEvent, Unit> */
|
||||
|
||||
external var on_gui_confirmed: uint /* uint & `T$93`<OnGuiConfirmedEvent, Unit> */
|
||||
|
||||
external var on_gui_text_changed: uint /* uint & `T$93`<OnGuiTextChangedEvent, Unit> */
|
||||
|
||||
external var on_gui_checked_state_changed: uint /* uint & `T$93`<OnGuiCheckedStateChangedEvent, Unit> */
|
||||
|
||||
external var on_entity_died: uint /* uint & `T$93`<OnEntityDiedEvent, LuaEntityDiedEventFilter> */
|
||||
|
||||
external var on_post_entity_died: uint /* uint & `T$93`<OnPostEntityDiedEvent, LuaPostEntityDiedEventFilter> */
|
||||
|
||||
external var on_entity_damaged: uint /* uint & `T$93`<OnEntityDamagedEvent, LuaEntityDamagedEventFilter> */
|
||||
|
||||
external var on_picked_up_item: uint /* uint & `T$93`<OnPickedUpItemEvent, Unit> */
|
||||
|
||||
external var on_built_entity: uint /* uint & `T$93`<OnBuiltEntityEvent, LuaPlayerBuiltEntityEventFilter> */
|
||||
|
||||
external var on_sector_scanned: uint /* uint & `T$93`<OnSectorScannedEvent, LuaSectorScannedEventFilter> */
|
||||
|
||||
external var on_player_mined_item: uint /* uint & `T$93`<OnPlayerMinedItemEvent, Unit> */
|
||||
|
||||
external var on_pre_build: uint /* uint & `T$93`<OnPreBuildEvent, Unit> */
|
||||
|
||||
external var on_rocket_launched: uint /* uint & `T$93`<OnRocketLaunchedEvent, Unit> */
|
||||
|
||||
external var on_pre_player_mined_item: uint /* uint & `T$93`<OnPrePlayerMinedItemEvent, LuaPrePlayerMinedEntityEventFilter> */
|
||||
|
||||
external var on_chunk_generated: uint /* uint & `T$93`<OnChunkGeneratedEvent, Unit> */
|
||||
|
||||
external var on_player_crafted_item: uint /* uint & `T$93`<OnPlayerCraftedItemEvent, Unit> */
|
||||
|
||||
external var on_robot_built_entity: uint /* uint & `T$93`<OnRobotBuiltEntityEvent, LuaRobotBuiltEntityEventFilter> */
|
||||
|
||||
external var on_robot_pre_mined: uint /* uint & `T$93`<OnRobotPreMinedEvent, LuaPreRobotMinedEntityEventFilter> */
|
||||
|
||||
external var on_robot_mined: uint /* uint & `T$93`<OnRobotMinedEvent, Unit> */
|
||||
|
||||
external var on_research_started: uint /* uint & `T$93`<OnResearchStartedEvent, Unit> */
|
||||
|
||||
external var on_research_finished: uint /* uint & `T$93`<OnResearchFinishedEvent, Unit> */
|
||||
|
||||
external var on_research_reversed: uint /* uint & `T$93`<OnResearchReversedEvent, Unit> */
|
||||
|
||||
external var on_player_rotated_entity: uint /* uint & `T$93`<OnPlayerRotatedEntityEvent, Unit> */
|
||||
|
||||
external var on_marked_for_deconstruction: uint /* uint & `T$93`<OnMarkedForDeconstructionEvent, LuaEntityMarkedForDeconstructionEventFilter> */
|
||||
|
||||
external var on_cancelled_deconstruction: uint /* uint & `T$93`<OnCancelledDeconstructionEvent, LuaEntityDeconstructionCancelledEventFilter> */
|
||||
|
||||
external var on_trigger_created_entity: uint /* uint & `T$93`<OnTriggerCreatedEntityEvent, Unit> */
|
||||
|
||||
external var on_trigger_fired_artillery: uint /* uint & `T$93`<OnTriggerFiredArtilleryEvent, Unit> */
|
||||
|
||||
external var on_train_changed_state: uint /* uint & `T$93`<OnTrainChangedStateEvent, Unit> */
|
||||
|
||||
external var on_player_created: uint /* uint & `T$93`<OnPlayerCreatedEvent, Unit> */
|
||||
|
||||
external var on_resource_depleted: uint /* uint & `T$93`<OnResourceDepletedEvent, Unit> */
|
||||
|
||||
external var on_player_driving_changed_state: uint /* uint & `T$93`<OnPlayerDrivingChangedStateEvent, Unit> */
|
||||
|
||||
external var on_force_created: uint /* uint & `T$93`<OnForceCreatedEvent, Unit> */
|
||||
|
||||
external var on_forces_merging: uint /* uint & `T$93`<OnForcesMergingEvent, Unit> */
|
||||
|
||||
external var on_player_cursor_stack_changed: uint /* uint & `T$93`<OnPlayerCursorStackChangedEvent, Unit> */
|
||||
|
||||
external var on_pre_entity_settings_pasted: uint /* uint & `T$93`<OnPreEntitySettingsPastedEvent, Unit> */
|
||||
|
||||
external var on_entity_settings_pasted: uint /* uint & `T$93`<OnEntitySettingsPastedEvent, Unit> */
|
||||
|
||||
external var on_player_main_inventory_changed: uint /* uint & `T$93`<OnPlayerMainInventoryChangedEvent, Unit> */
|
||||
|
||||
external var on_player_armor_inventory_changed: uint /* uint & `T$93`<OnPlayerArmorInventoryChangedEvent, Unit> */
|
||||
|
||||
external var on_player_ammo_inventory_changed: uint /* uint & `T$93`<OnPlayerAmmoInventoryChangedEvent, Unit> */
|
||||
|
||||
external var on_player_gun_inventory_changed: uint /* uint & `T$93`<OnPlayerGunInventoryChangedEvent, Unit> */
|
||||
|
||||
external var on_player_placed_equipment: uint /* uint & `T$93`<OnPlayerPlacedEquipmentEvent, Unit> */
|
||||
|
||||
external var on_player_removed_equipment: uint /* uint & `T$93`<OnPlayerRemovedEquipmentEvent, Unit> */
|
||||
|
||||
external var on_pre_player_died: uint /* uint & `T$93`<OnPrePlayerDiedEvent, Unit> */
|
||||
|
||||
external var on_player_died: uint /* uint & `T$93`<OnPlayerDiedEvent, Unit> */
|
||||
|
||||
external var on_player_respawned: uint /* uint & `T$93`<OnPlayerRespawnedEvent, Unit> */
|
||||
|
||||
external var on_player_joined_game: uint /* uint & `T$93`<OnPlayerJoinedGameEvent, Unit> */
|
||||
|
||||
external var on_player_left_game: uint /* uint & `T$93`<OnPlayerLeftGameEvent, Unit> */
|
||||
|
||||
external var on_player_built_tile: uint /* uint & `T$93`<OnPlayerBuiltTileEvent, Unit> */
|
||||
|
||||
external var on_player_mined_tile: uint /* uint & `T$93`<OnPlayerMinedTileEvent, Unit> */
|
||||
|
||||
external var on_robot_built_tile: uint /* uint & `T$93`<OnRobotBuiltTileEvent, Unit> */
|
||||
|
||||
external var on_robot_mined_tile: uint /* uint & `T$93`<OnRobotMinedTileEvent, Unit> */
|
||||
|
||||
external var on_player_selected_area: uint /* uint & `T$93`<OnPlayerSelectedAreaEvent, Unit> */
|
||||
|
||||
external var on_player_alt_selected_area: uint /* uint & `T$93`<OnPlayerAltSelectedAreaEvent, Unit> */
|
||||
|
||||
external var on_player_changed_surface: uint /* uint & `T$93`<OnPlayerChangedSurfaceEvent, Unit> */
|
||||
|
||||
external var on_selected_entity_changed: uint /* uint & `T$93`<OnSelectedEntityChangedEvent, Unit> */
|
||||
|
||||
external var on_market_item_purchased: uint /* uint & `T$93`<OnMarketItemPurchasedEvent, Unit> */
|
||||
|
||||
external var on_player_dropped_item: uint /* uint & `T$93`<OnPlayerDroppedItemEvent, Unit> */
|
||||
|
||||
external var on_biter_base_built: uint /* uint & `T$93`<OnBiterBaseBuiltEvent, Unit> */
|
||||
|
||||
external var on_player_changed_force: uint /* uint & `T$93`<OnPlayerChangedForceEvent, Unit> */
|
||||
|
||||
external var on_entity_renamed: uint /* uint & `T$93`<OnEntityRenamedEvent, Unit> */
|
||||
|
||||
external var on_gui_selection_state_changed: uint /* uint & `T$93`<OnGuiSelectionStateChangedEvent, Unit> */
|
||||
|
||||
external var on_runtime_mod_setting_changed: uint /* uint & `T$93`<OnRuntimeModSettingChangedEvent, Unit> */
|
||||
|
||||
external var on_difficulty_settings_changed: uint /* uint & `T$93`<OnDifficultySettingsChangedEvent, Unit> */
|
||||
|
||||
external var on_surface_created: uint /* uint & `T$93`<OnSurfaceCreatedEvent, Unit> */
|
||||
|
||||
external var on_surface_deleted: uint /* uint & `T$93`<OnSurfaceDeletedEvent, Unit> */
|
||||
|
||||
external var on_pre_surface_deleted: uint /* uint & `T$93`<OnPreSurfaceDeletedEvent, Unit> */
|
||||
|
||||
external var on_player_mined_entity: uint /* uint & `T$93`<OnPlayerMinedEntityEvent, LuaPlayerMinedEntityEventFilter> */
|
||||
|
||||
external var on_robot_mined_entity: uint /* uint & `T$93`<OnRobotMinedEntityEvent, LuaRobotMinedEntityEventFilter> */
|
||||
|
||||
external var on_train_created: uint /* uint & `T$93`<OnTrainCreatedEvent, Unit> */
|
||||
|
||||
external var on_gui_elem_changed: uint /* uint & `T$93`<OnGuiElemChangedEvent, Unit> */
|
||||
|
||||
external var on_player_setup_blueprint: uint /* uint & `T$93`<OnPlayerSetupBlueprintEvent, Unit> */
|
||||
|
||||
external var on_player_deconstructed_area: uint /* uint & `T$93`<OnPlayerDeconstructedAreaEvent, Unit> */
|
||||
|
||||
external var on_player_configured_blueprint: uint /* uint & `T$93`<OnPlayerConfiguredBlueprintEvent, Unit> */
|
||||
|
||||
external var on_console_chat: uint /* uint & `T$93`<OnConsoleChatEvent, Unit> */
|
||||
|
||||
external var on_console_command: uint /* uint & `T$93`<OnConsoleCommandEvent, Unit> */
|
||||
|
||||
external var on_player_removed: uint /* uint & `T$93`<OnPlayerRemovedEvent, Unit> */
|
||||
|
||||
external var on_pre_player_removed: uint /* uint & `T$93`<OnPrePlayerRemovedEvent, Unit> */
|
||||
|
||||
external var on_player_used_capsule: uint /* uint & `T$93`<OnPlayerUsedCapsuleEvent, Unit> */
|
||||
|
||||
external var script_raised_built: uint /* uint & `T$93`<ScriptRaisedBuiltEvent, LuaScriptRaisedBuiltEventFilter> */
|
||||
|
||||
external var script_raised_destroy: uint /* uint & `T$93`<ScriptRaisedDestroyEvent, LuaScriptRaisedDestroyEventFilter> */
|
||||
|
||||
external var script_raised_revive: uint /* uint & `T$93`<ScriptRaisedReviveEvent, LuaScriptRaisedReviveEventFilter> */
|
||||
|
||||
external var script_raised_set_tiles: uint /* uint & `T$93`<ScriptRaisedSetTilesEvent, Unit> */
|
||||
|
||||
external var on_player_promoted: uint /* uint & `T$93`<OnPlayerPromotedEvent, Unit> */
|
||||
|
||||
external var on_player_demoted: uint /* uint & `T$93`<OnPlayerDemotedEvent, Unit> */
|
||||
|
||||
external var on_combat_robot_expired: uint /* uint & `T$93`<OnCombatRobotExpiredEvent, Unit> */
|
||||
|
||||
external var on_worker_robot_expired: uint /* uint & `T$93`<OnWorkerRobotExpiredEvent, Unit> */
|
||||
|
||||
external var on_player_changed_position: uint /* uint & `T$93`<OnPlayerChangedPositionEvent, Unit> */
|
||||
|
||||
external var on_mod_item_opened: uint /* uint & `T$93`<OnModItemOpenedEvent, Unit> */
|
||||
|
||||
external var on_gui_opened: uint /* uint & `T$93`<OnGuiOpenedEvent, Unit> */
|
||||
|
||||
external var on_gui_closed: uint /* uint & `T$93`<OnGuiClosedEvent, Unit> */
|
||||
|
||||
external var on_gui_value_changed: uint /* uint & `T$93`<OnGuiValueChangedEvent, Unit> */
|
||||
|
||||
external var on_player_muted: uint /* uint & `T$93`<OnPlayerMutedEvent, Unit> */
|
||||
|
||||
external var on_player_unmuted: uint /* uint & `T$93`<OnPlayerUnmutedEvent, Unit> */
|
||||
|
||||
external var on_player_cheat_mode_enabled: uint /* uint & `T$93`<OnPlayerCheatModeEnabledEvent, Unit> */
|
||||
|
||||
external var on_player_cheat_mode_disabled: uint /* uint & `T$93`<OnPlayerCheatModeDisabledEvent, Unit> */
|
||||
|
||||
external var on_character_corpse_expired: uint /* uint & `T$93`<OnCharacterCorpseExpiredEvent, Unit> */
|
||||
|
||||
external var on_pre_ghost_deconstructed: uint /* uint & `T$93`<OnPreGhostDeconstructedEvent, LuaPreGhostDeconstructedEventFilter> */
|
||||
|
||||
external var on_player_pipette: uint /* uint & `T$93`<OnPlayerPipetteEvent, Unit> */
|
||||
|
||||
external var on_player_display_resolution_changed: uint /* uint & `T$93`<OnPlayerDisplayResolutionChangedEvent, Unit> */
|
||||
|
||||
external var on_player_display_scale_changed: uint /* uint & `T$93`<OnPlayerDisplayScaleChangedEvent, Unit> */
|
||||
|
||||
external var on_pre_player_crafted_item: uint /* uint & `T$93`<OnPrePlayerCraftedItemEvent, Unit> */
|
||||
|
||||
external var on_player_cancelled_crafting: uint /* uint & `T$93`<OnPlayerCancelledCraftingEvent, Unit> */
|
||||
|
||||
external var on_chunk_charted: uint /* uint & `T$93`<OnChunkChartedEvent, Unit> */
|
||||
|
||||
external var on_technology_effects_reset: uint /* uint & `T$93`<OnTechnologyEffectsResetEvent, Unit> */
|
||||
|
||||
external var on_force_reset: uint /* uint & `T$93`<OnForceResetEvent, Unit> */
|
||||
|
||||
external var on_land_mine_armed: uint /* uint & `T$93`<OnLandMineArmedEvent, Unit> */
|
||||
|
||||
external var on_forces_merged: uint /* uint & `T$93`<OnForcesMergedEvent, Unit> */
|
||||
|
||||
external var on_player_trash_inventory_changed: uint /* uint & `T$93`<OnPlayerTrashInventoryChangedEvent, Unit> */
|
||||
|
||||
external var on_pre_player_left_game: uint /* uint & `T$93`<OnPrePlayerLeftGameEvent, Unit> */
|
||||
|
||||
external var on_pre_surface_cleared: uint /* uint & `T$93`<OnPreSurfaceClearedEvent, Unit> */
|
||||
|
||||
external var on_surface_cleared: uint /* uint & `T$93`<OnSurfaceClearedEvent, Unit> */
|
||||
|
||||
external var on_chunk_deleted: uint /* uint & `T$93`<OnChunkDeletedEvent, Unit> */
|
||||
|
||||
external var on_pre_chunk_deleted: uint /* uint & `T$93`<OnPreChunkDeletedEvent, Unit> */
|
||||
|
||||
external var on_train_schedule_changed: uint /* uint & `T$93`<OnTrainScheduleChangedEvent, Unit> */
|
||||
|
||||
external var on_player_banned: uint /* uint & `T$93`<OnPlayerBannedEvent, Unit> */
|
||||
|
||||
external var on_player_kicked: uint /* uint & `T$93`<OnPlayerKickedEvent, Unit> */
|
||||
|
||||
external var on_player_unbanned: uint /* uint & `T$93`<OnPlayerUnbannedEvent, Unit> */
|
||||
|
||||
external var on_rocket_launch_ordered: uint /* uint & `T$93`<OnRocketLaunchOrderedEvent, Unit> */
|
||||
|
||||
external var on_script_path_request_finished: uint /* uint & `T$93`<OnScriptPathRequestFinishedEvent, Unit> */
|
||||
|
||||
external var on_ai_command_completed: uint /* uint & `T$93`<OnAiCommandCompletedEvent, Unit> */
|
||||
|
||||
external var on_marked_for_upgrade: uint /* uint & `T$93`<OnMarkedForUpgradeEvent, LuaEntityMarkedForUpgradeEventFilter> */
|
||||
|
||||
external var on_cancelled_upgrade: uint /* uint & `T$93`<OnCancelledUpgradeEvent, LuaUpgradeCancelledEventFilter> */
|
||||
|
||||
external var on_player_toggled_map_editor: uint /* uint & `T$93`<OnPlayerToggledMapEditorEvent, Unit> */
|
||||
|
||||
external var on_entity_cloned: uint /* uint & `T$93`<OnEntityClonedEvent, LuaEntityClonedEventFilter> */
|
||||
|
||||
external var on_area_cloned: uint /* uint & `T$93`<OnAreaClonedEvent, Unit> */
|
||||
|
||||
external var on_brush_cloned: uint /* uint & `T$93`<OnBrushClonedEvent, Unit> */
|
||||
|
||||
external var on_game_created_from_scenario: uint /* uint & `T$93`<OnGameCreatedFromScenarioEvent, Unit> */
|
||||
|
||||
external var on_surface_imported: uint /* uint & `T$93`<OnSurfaceImportedEvent, Unit> */
|
||||
|
||||
external var on_surface_renamed: uint /* uint & `T$93`<OnSurfaceRenamedEvent, Unit> */
|
||||
|
||||
external var on_player_toggled_alt_mode: uint /* uint & `T$93`<OnPlayerToggledAltModeEvent, Unit> */
|
||||
|
||||
external var on_player_repaired_entity: uint /* uint & `T$93`<OnPlayerRepairedEntityEvent, LuaPlayerRepairedEntityEventFilter> */
|
||||
|
||||
external var on_player_fast_transferred: uint /* uint & `T$93`<OnPlayerFastTransferredEvent, Unit> */
|
||||
|
||||
external var on_pre_robot_exploded_cliff: uint /* uint & `T$93`<OnPreRobotExplodedCliffEvent, Unit> */
|
||||
|
||||
external var on_robot_exploded_cliff: uint /* uint & `T$93`<OnRobotExplodedCliffEvent, Unit> */
|
||||
|
||||
external var on_entity_spawned: uint /* uint & `T$93`<OnEntitySpawnedEvent, Unit> */
|
||||
|
||||
external var on_cutscene_waypoint_reached: uint /* uint & `T$93`<OnCutsceneWaypointReachedEvent, Unit> */
|
||||
|
||||
external var on_unit_group_created: uint /* uint & `T$93`<OnUnitGroupCreatedEvent, Unit> */
|
||||
|
||||
external var on_unit_added_to_group: uint /* uint & `T$93`<OnUnitAddedToGroupEvent, Unit> */
|
||||
|
||||
external var on_unit_removed_from_group: uint /* uint & `T$93`<OnUnitRemovedFromGroupEvent, Unit> */
|
||||
|
||||
external var on_unit_group_finished_gathering: uint /* uint & `T$93`<OnUnitGroupFinishedGatheringEvent, Unit> */
|
||||
|
||||
external var on_build_base_arrived: uint /* uint & `T$93`<OnBuildBaseArrivedEvent, Unit> */
|
||||
|
||||
external var on_chart_tag_added: uint /* uint & `T$93`<OnChartTagAddedEvent, Unit> */
|
||||
|
||||
external var on_chart_tag_modified: uint /* uint & `T$93`<OnChartTagModifiedEvent, Unit> */
|
||||
|
||||
external var on_chart_tag_removed: uint /* uint & `T$93`<OnChartTagRemovedEvent, Unit> */
|
||||
|
||||
external var on_lua_shortcut: uint /* uint & `T$93`<OnLuaShortcutEvent, Unit> */
|
||||
|
||||
external var on_gui_location_changed: uint /* uint & `T$93`<OnGuiLocationChangedEvent, Unit> */
|
||||
|
||||
external var on_gui_selected_tab_changed: uint /* uint & `T$93`<OnGuiSelectedTabChangedEvent, Unit> */
|
||||
|
||||
external var on_gui_switch_state_changed: uint /* uint & `T$93`<OnGuiSwitchStateChangedEvent, Unit> */
|
||||
|
||||
external var on_force_cease_fire_changed: uint /* uint & `T$93`<OnForceCeaseFireChangedEvent, Unit> */
|
||||
|
||||
external var on_force_friends_changed: uint /* uint & `T$93`<OnForceFriendsChangedEvent, Unit> */
|
||||
|
||||
external var on_string_translated: uint /* uint & `T$93`<OnStringTranslatedEvent, Unit> */
|
||||
|
||||
external var on_script_trigger_effect: uint /* uint & `T$93`<OnScriptTriggerEffectEvent, Unit> */
|
||||
|
||||
external var on_player_set_quick_bar_slot: uint /* uint & `T$93`<OnPlayerSetQuickBarSlotEvent, Unit> */
|
||||
|
||||
external var on_pre_player_toggled_map_editor: uint /* uint & `T$93`<OnPrePlayerToggledMapEditorEvent, Unit> */
|
||||
|
||||
external var on_pre_script_inventory_resized: uint /* uint & `T$93`<OnPreScriptInventoryResizedEvent, Unit> */
|
||||
|
||||
external var on_script_inventory_resized: uint /* uint & `T$93`<OnScriptInventoryResizedEvent, Unit> */
|
||||
|
||||
external var on_entity_destroyed: uint /* uint & `T$93`<OnEntityDestroyedEvent, Unit> */
|
||||
|
||||
external var on_player_clicked_gps_tag: uint /* uint & `T$93`<OnPlayerClickedGpsTagEvent, Unit> */
|
||||
|
||||
external var on_player_flushed_fluid: uint /* uint & `T$93`<OnPlayerFlushedFluidEvent, Unit> */
|
||||
|
||||
external var on_permission_group_edited: uint /* uint & `T$93`<OnPermissionGroupEditedEvent, Unit> */
|
||||
|
||||
external var on_pre_permission_string_imported: uint /* uint & `T$93`<OnPrePermissionStringImportedEvent, Unit> */
|
||||
|
||||
external var on_permission_string_imported: uint /* uint & `T$93`<OnPermissionStringImportedEvent, Unit> */
|
||||
|
||||
external var on_pre_permission_group_deleted: uint /* uint & `T$93`<OnPrePermissionGroupDeletedEvent, Unit> */
|
||||
|
||||
external var on_permission_group_deleted: uint /* uint & `T$93`<OnPermissionGroupDeletedEvent, Unit> */
|
||||
|
||||
external var on_permission_group_added: uint /* uint & `T$93`<OnPermissionGroupAddedEvent, Unit> */
|
||||
|
||||
external var on_cutscene_cancelled: uint /* uint & `T$93`<OnCutsceneCancelledEvent, Unit> */
|
||||
|
||||
external var on_player_configured_spider_remote: uint /* uint & `T$93`<OnPlayerConfiguredSpiderRemoteEvent, Unit> */
|
||||
|
||||
external var on_player_used_spider_remote: uint /* uint & `T$93`<OnPlayerUsedSpiderRemoteEvent, Unit> */
|
||||
|
||||
external var on_spider_command_completed: uint /* uint & `T$93`<OnSpiderCommandCompletedEvent, Unit> */
|
||||
|
||||
external var on_entity_logistic_slot_changed: uint /* uint & `T$93`<OnEntityLogisticSlotChangedEvent, Unit> */
|
||||
|
||||
external var on_equipment_inserted: uint /* uint & `T$93`<OnEquipmentInsertedEvent, Unit> */
|
||||
|
||||
external var on_equipment_removed: uint /* uint & `T$93`<OnEquipmentRemovedEvent, Unit> */
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
@file:JsQualifier("defines.riding")
|
||||
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
|
||||
package defines.riding
|
||||
|
||||
import kotlin.js.*
|
||||
import org.khronos.webgl.*
|
||||
import org.w3c.dom.*
|
||||
import org.w3c.dom.events.*
|
||||
import org.w3c.dom.parsing.*
|
||||
import org.w3c.dom.svg.*
|
||||
import org.w3c.dom.url.*
|
||||
import org.w3c.fetch.*
|
||||
import org.w3c.files.*
|
||||
import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
external enum class acceleration {
|
||||
nothing,
|
||||
accelerating,
|
||||
braking,
|
||||
reversing
|
||||
}
|
||||
|
||||
external enum class direction {
|
||||
left,
|
||||
straight,
|
||||
right
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue