Skip to content

Commit de534aa

Browse files
committed
Fix code
1 parent 3a0b810 commit de534aa

38 files changed

Lines changed: 903 additions & 124 deletions
24.5 KB
Binary file not shown.
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<class name="PeerVisibilityFilter" inherits="Node" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/godotengine/godot/master/doc/class.xsd">
3+
<brief_description>
4+
</brief_description>
5+
<description>
6+
</description>
7+
<tutorials>
8+
</tutorials>
9+
<methods>
10+
<method name="add_visibility_filter">
11+
<return type="void" />
12+
<param index="0" name="filter" type="Callable" />
13+
<description>
14+
</description>
15+
</method>
16+
<method name="clear_visibility_filters">
17+
<return type="void" />
18+
<description>
19+
</description>
20+
</method>
21+
<method name="get_rpc_target_peers">
22+
<return type="int[]" />
23+
<description>
24+
</description>
25+
</method>
26+
<method name="get_update_mode">
27+
<return type="int" enum="PeerVisibilityFilter.UpdateMode" />
28+
<description>
29+
</description>
30+
</method>
31+
<method name="get_visibility_for">
32+
<return type="bool" />
33+
<param index="0" name="peer" type="int" />
34+
<description>
35+
</description>
36+
</method>
37+
<method name="get_visible_peers">
38+
<return type="int[]" />
39+
<description>
40+
</description>
41+
</method>
42+
<method name="remove_visibility_filter">
43+
<return type="void" />
44+
<param index="0" name="filter" type="Callable" />
45+
<description>
46+
</description>
47+
</method>
48+
<method name="set_update_mode">
49+
<return type="void" />
50+
<param index="0" name="mode" type="int" enum="PeerVisibilityFilter.UpdateMode" />
51+
<description>
52+
</description>
53+
</method>
54+
<method name="set_visibility_for">
55+
<return type="void" />
56+
<param index="0" name="peer" type="int" />
57+
<param index="1" name="visibility" type="bool" />
58+
<description>
59+
</description>
60+
</method>
61+
<method name="unset_visibility_for">
62+
<return type="void" />
63+
<param index="0" name="peer" type="int" />
64+
<description>
65+
</description>
66+
</method>
67+
<method name="update_visibility">
68+
<return type="void" />
69+
<param index="0" name="peers" type="PackedInt32Array" />
70+
<description>
71+
</description>
72+
</method>
73+
</methods>
74+
<constants>
75+
<constant name="UPDATE_NEVER" value="0" enum="UpdateMode">
76+
</constant>
77+
<constant name="UPDATE_ON_PEER" value="1" enum="UpdateMode">
78+
</constant>
79+
<constant name="UPDATE_PER_TICK_LOOP" value="2" enum="UpdateMode">
80+
</constant>
81+
<constant name="UPDATE_PER_TICK" value="3" enum="UpdateMode">
82+
</constant>
83+
<constant name="UPDATE_PER_ROLLBACK_TICK" value="4" enum="UpdateMode">
84+
</constant>
85+
</constants>
86+
</class>

doc_classes/PropertyCache.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<class name="PropertyCache" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/godotengine/godot/master/doc/class.xsd">
3+
<brief_description>
4+
</brief_description>
5+
<description>
6+
</description>
7+
<tutorials>
8+
</tutorials>
9+
<methods>
10+
<method name="clear">
11+
<return type="void" />
12+
<description>
13+
</description>
14+
</method>
15+
<method name="get_entry">
16+
<return type="PropertyEntry" />
17+
<param index="0" name="path" type="String" />
18+
<description>
19+
</description>
20+
</method>
21+
<method name="new_" qualifiers="static">
22+
<return type="PropertyCache" />
23+
<param index="0" name="p_root" type="Node" />
24+
<description>
25+
</description>
26+
</method>
27+
<method name="properties">
28+
<return type="PropertyEntry[]" />
29+
<description>
30+
</description>
31+
</method>
32+
</methods>
33+
</class>

doc_classes/PropertyEntry.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<class name="PropertyEntry" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/godotengine/godot/master/doc/class.xsd">
3+
<brief_description>
4+
</brief_description>
5+
<description>
6+
</description>
7+
<tutorials>
8+
</tutorials>
9+
<methods>
10+
<method name="get_value">
11+
<return type="Variant" />
12+
<description>
13+
</description>
14+
</method>
15+
<method name="is_valid">
16+
<return type="bool" />
17+
<description>
18+
</description>
19+
</method>
20+
<method name="make_path" qualifiers="static">
21+
<return type="String" />
22+
<param index="0" name="root" type="Node" />
23+
<param index="1" name="node" type="Variant" />
24+
<param index="2" name="property" type="String" />
25+
<description>
26+
</description>
27+
</method>
28+
<method name="parse" qualifiers="static">
29+
<return type="PropertyEntry" />
30+
<param index="0" name="root" type="Node" />
31+
<param index="1" name="path" type="String" />
32+
<description>
33+
</description>
34+
</method>
35+
<method name="set_value">
36+
<return type="void" />
37+
<param index="0" name="value" type="Variant" />
38+
<description>
39+
</description>
40+
</method>
41+
</methods>
42+
</class>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<class name="RollbackFreshnessStore" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/godotengine/godot/master/doc/class.xsd">
3+
<brief_description>
4+
</brief_description>
5+
<description>
6+
</description>
7+
<tutorials>
8+
</tutorials>
9+
<methods>
10+
<method name="clear">
11+
<return type="void" />
12+
<description>
13+
</description>
14+
</method>
15+
<method name="is_fresh">
16+
<return type="bool" />
17+
<param index="0" name="node" type="Node" />
18+
<param index="1" name="tick" type="int" />
19+
<description>
20+
</description>
21+
</method>
22+
<method name="new" qualifiers="static">
23+
<return type="RollbackFreshnessStore" />
24+
<description>
25+
</description>
26+
</method>
27+
<method name="notify_processed">
28+
<return type="void" />
29+
<param index="0" name="node" type="Node" />
30+
<param index="1" name="tick" type="int" />
31+
<description>
32+
</description>
33+
</method>
34+
<method name="trim">
35+
<return type="void" />
36+
<description>
37+
</description>
38+
</method>
39+
</methods>
40+
</class>
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<class name="_DiffHistoryEncoder" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/godotengine/godot/master/doc/class.xsd">
3+
<brief_description>
4+
</brief_description>
5+
<description>
6+
</description>
7+
<tutorials>
8+
</tutorials>
9+
<methods>
10+
<method name="add_properties">
11+
<return type="void" />
12+
<param index="0" name="properties" type="Array" />
13+
<description>
14+
</description>
15+
</method>
16+
<method name="apply">
17+
<return type="bool" />
18+
<param index="0" name="tick" type="int" />
19+
<param index="1" name="snapshot" type="_PropertySnapshot" />
20+
<param index="2" name="reference_tick" type="int" />
21+
<param index="3" name="sender" type="int" />
22+
<description>
23+
</description>
24+
</method>
25+
<method name="decode">
26+
<return type="_PropertySnapshot" />
27+
<param index="0" name="data" type="PackedByteArray" />
28+
<param index="1" name="properties" type="Array" />
29+
<description>
30+
</description>
31+
</method>
32+
<method name="encode">
33+
<return type="PackedByteArray" />
34+
<param index="0" name="tick" type="int" />
35+
<param index="1" name="reference_tick" type="int" />
36+
<param index="2" name="properties" type="Array" />
37+
<description>
38+
</description>
39+
</method>
40+
<method name="get_encoded_snapshot">
41+
<return type="Dictionary" />
42+
<description>
43+
</description>
44+
</method>
45+
<method name="get_full_snapshot">
46+
<return type="Dictionary" />
47+
<description>
48+
</description>
49+
</method>
50+
<method name="new_" qualifiers="static">
51+
<return type="_DiffHistoryEncoder" />
52+
<param index="0" name="p_history" type="_PropertyHistoryBuffer" />
53+
<param index="1" name="p_property_cache" type="PropertyCache" />
54+
<description>
55+
</description>
56+
</method>
57+
</methods>
58+
</class>

doc_classes/_HistoryBuffer.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<class name="_HistoryBuffer" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/godotengine/godot/master/doc/class.xsd">
3+
<brief_description>
4+
</brief_description>
5+
<description>
6+
</description>
7+
<tutorials>
8+
</tutorials>
9+
</class>

doc_classes/_NetfoxLogger.xml

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<class name="_NetfoxLogger" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/godotengine/godot/master/doc/class.xsd">
3+
<brief_description>
4+
</brief_description>
5+
<description>
6+
</description>
7+
<tutorials>
8+
</tutorials>
9+
<methods>
10+
<method name="debug">
11+
<return type="void" />
12+
<param index="0" name="text" type="String" />
13+
<param index="1" name="values" type="Array" />
14+
<description>
15+
</description>
16+
</method>
17+
<method name="error">
18+
<return type="void" />
19+
<param index="0" name="text" type="String" />
20+
<param index="1" name="values" type="Array" />
21+
<description>
22+
</description>
23+
</method>
24+
<method name="for_extras" qualifiers="static">
25+
<return type="_NetfoxLogger" />
26+
<param index="0" name="p_name" type="String" />
27+
<description>
28+
</description>
29+
</method>
30+
<method name="for_netfox" qualifiers="static">
31+
<return type="_NetfoxLogger" />
32+
<param index="0" name="p_name" type="String" />
33+
<description>
34+
</description>
35+
</method>
36+
<method name="for_noray" qualifiers="static">
37+
<return type="_NetfoxLogger" />
38+
<param index="0" name="p_name" type="String" />
39+
<description>
40+
</description>
41+
</method>
42+
<method name="free_tag" qualifiers="static">
43+
<return type="void" />
44+
<param index="0" name="tag" type="Callable" />
45+
<description>
46+
</description>
47+
</method>
48+
<method name="info">
49+
<return type="void" />
50+
<param index="0" name="text" type="String" />
51+
<param index="1" name="values" type="Array" />
52+
<description>
53+
</description>
54+
</method>
55+
<method name="make_setting" qualifiers="static">
56+
<return type="Dictionary" />
57+
<param index="0" name="name" type="String" />
58+
<description>
59+
</description>
60+
</method>
61+
<method name="new_" qualifiers="static">
62+
<return type="_NetfoxLogger" />
63+
<param index="0" name="p_module" type="String" />
64+
<param index="1" name="p_name" type="String" />
65+
<description>
66+
</description>
67+
</method>
68+
<method name="register_tag" qualifiers="static">
69+
<return type="void" />
70+
<param index="0" name="tag" type="Callable" />
71+
<param index="1" name="priority" type="int" />
72+
<description>
73+
</description>
74+
</method>
75+
<method name="trace">
76+
<return type="void" />
77+
<param index="0" name="text" type="String" />
78+
<param index="1" name="values" type="Array" />
79+
<description>
80+
</description>
81+
</method>
82+
<method name="warning">
83+
<return type="void" />
84+
<param index="0" name="text" type="String" />
85+
<param index="1" name="values" type="Array" />
86+
<description>
87+
</description>
88+
</method>
89+
</methods>
90+
<members>
91+
<member name="log_level" type="int" setter="set_log_level" getter="get_log_level" enum="_NetfoxLogger.LogLevel" default="2">
92+
</member>
93+
<member name="module_log_level" type="Dictionary" setter="set_module_log_level" getter="get_module_log_level" default="{ &quot;netfox&quot;: 2, &quot;netfox.extras&quot;: 2, &quot;netfox.noray&quot;: 2 }">
94+
</member>
95+
</members>
96+
<constants>
97+
<constant name="LOG_MIN" value="0" enum="LogLevel">
98+
</constant>
99+
<constant name="LOG_TRACE" value="1" enum="LogLevel">
100+
</constant>
101+
<constant name="LOG_DEBUG" value="2" enum="LogLevel">
102+
</constant>
103+
<constant name="LOG_INFO" value="3" enum="LogLevel">
104+
</constant>
105+
<constant name="LOG_WARN" value="4" enum="LogLevel">
106+
</constant>
107+
<constant name="LOG_ERROR" value="5" enum="LogLevel">
108+
</constant>
109+
<constant name="LOG_MAX" value="6" enum="LogLevel">
110+
</constant>
111+
</constants>
112+
</class>

0 commit comments

Comments
 (0)