2022-03-20 23:30:30 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2024-02-25 10:26:26 +01:00
|
|
|
<class name="NetworkedController" inherits="Node" version="4.3">
|
2022-03-20 23:30:30 +01:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="_apply_epoch" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="delta" type="float" />
|
2023-12-25 19:27:07 +01:00
|
|
|
<argument index="1" name="interpolation_alpha" type="float" />
|
|
|
|
<argument index="2" name="past_buffer" type="DataBuffer" />
|
|
|
|
<argument index="3" name="future_buffer" type="DataBuffer" />
|
2022-03-20 23:30:30 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_are_inputs_different" qualifiers="virtual">
|
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="inputs_A" type="DataBuffer" />
|
|
|
|
<argument index="1" name="inputs_B" type="DataBuffer" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_collect_epoch_data" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="buffer" type="DataBuffer" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_collect_inputs" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="delta" type="float" />
|
|
|
|
<argument index="1" name="buffer" type="DataBuffer" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_controller_process" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="delta" type="float" />
|
|
|
|
<argument index="1" name="buffer" type="DataBuffer" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_count_input_size" qualifiers="virtual">
|
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="inputs" type="DataBuffer" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_current_input_id" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="is_doll_controller" qualifiers="const">
|
|
|
|
<return type="bool" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="is_nonet_controller" qualifiers="const">
|
|
|
|
<return type="bool" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="is_player_controller" qualifiers="const">
|
|
|
|
<return type="bool" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="is_server_controller" qualifiers="const">
|
|
|
|
<return type="bool" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="mark_epoch_as_important">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="player_get_pretended_delta" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_doll_collect_rate_factor">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="peer" type="int" />
|
|
|
|
<argument index="1" name="factor" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_doll_peer_active">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="peer_id" type="int" />
|
|
|
|
<argument index="1" name="active" type="bool" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2023-12-25 19:27:07 +01:00
|
|
|
<member name="doll_connection_stats_frame_span" type="int" setter="set_doll_connection_stats_frame_span" getter="get_doll_connection_stats_frame_span" default="60">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
2023-12-25 19:27:07 +01:00
|
|
|
<member name="doll_interpolation_max_overshot" type="float" setter="set_doll_interpolation_max_overshot" getter="get_doll_interpolation_max_overshot" default="0.2">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
2023-12-25 19:27:07 +01:00
|
|
|
<member name="doll_max_frames_delay" type="int" setter="set_doll_max_frames_delay" getter="get_doll_max_frames_delay" default="25">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
2023-12-25 19:27:07 +01:00
|
|
|
<member name="doll_min_frames_delay" type="int" setter="set_doll_min_frames_delay" getter="get_doll_min_frames_delay" default="0">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
2023-12-25 19:27:07 +01:00
|
|
|
<member name="doll_net_sensitivity" type="float" setter="set_doll_net_sensitivity" getter="get_doll_net_sensitivity" default="0.21">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
2023-12-25 19:27:07 +01:00
|
|
|
<member name="doll_sync_rate" type="int" setter="set_doll_sync_rate" getter="get_doll_sync_rate" default="30">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
|
|
|
<member name="input_storage_size" type="int" setter="set_player_input_storage_size" getter="get_player_input_storage_size" default="180">
|
|
|
|
</member>
|
2023-12-25 20:20:30 +01:00
|
|
|
<member name="max_frames_delay" type="int" setter="set_max_frames_delay" getter="get_max_frames_delay" default="7">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
2023-12-25 20:20:30 +01:00
|
|
|
<member name="max_redundant_inputs" type="int" setter="set_max_redundant_inputs" getter="get_max_redundant_inputs" default="6">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
2023-12-25 20:20:30 +01:00
|
|
|
<member name="min_frames_delay" type="int" setter="set_min_frames_delay" getter="get_min_frames_delay" default="0">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
|
|
|
<member name="network_traced_frames" type="int" setter="set_network_traced_frames" getter="get_network_traced_frames" default="120">
|
|
|
|
</member>
|
2023-12-25 19:27:07 +01:00
|
|
|
<member name="server_controlled" type="bool" setter="set_server_controlled" getter="get_server_controlled" default="false">
|
|
|
|
</member>
|
2023-12-25 20:20:30 +01:00
|
|
|
<member name="tick_acceleration" type="float" setter="set_tick_acceleration" getter="get_tick_acceleration" default="5.0">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
2023-12-25 20:20:30 +01:00
|
|
|
<member name="tick_speedup_notification_delay" type="int" setter="set_tick_speedup_notification_delay" getter="get_tick_speedup_notification_delay" default="600">
|
2022-03-20 23:30:30 +01:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<signals>
|
2023-12-25 20:20:30 +01:00
|
|
|
<signal name="client_speedup_adjusted">
|
|
|
|
<argument index="0" name="input_worst_receival_time_ms" type="int" />
|
|
|
|
<argument index="1" name="optimal_frame_delay" type="int" />
|
|
|
|
<argument index="2" name="current_frame_delay" type="int" />
|
|
|
|
<argument index="3" name="distance_to_optimal" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
2023-12-25 19:27:07 +01:00
|
|
|
<signal name="controller_reset">
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
2022-03-20 23:30:30 +01:00
|
|
|
<signal name="doll_sync_paused">
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
<signal name="doll_sync_started">
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
2023-12-25 20:20:30 +01:00
|
|
|
<signal name="input_missed">
|
|
|
|
<argument index="0" name="missing_input_id" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
2022-03-20 23:30:30 +01:00
|
|
|
</signals>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|