Component | Translated | Unfinished | Unfinished words | Unfinished characters | Untranslated | Checks | Suggestions | Comments | |
---|---|---|---|---|---|---|---|---|---|
Godot Editor MIT | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
|
|||||||||
Godot Properties MIT | 0 | 0 | 0 | 0 | 0 | 0 | 1 | ||
|
|||||||||
Godot Class Reference MIT | 96% | 739 | 30,258 | 220,887 | 343 | 55 | 0 | 0 | |
|
|||||||||
Godot Documentation CC-BY-4.0 | 87% | 3,015 | 83,772 | 567,693 | 1,642 | 13 | 0 | 13 | |
|
|||||||||
Glossary Godot Engine CC-BY-3.0 | 99% | 2 | 2 | 11 | 2 | 0 | 0 | 3 | |
|
Overview
Project website | godotengine.org |
---|---|
Instructions for translators | Thanks for helping with Godot Engine translations! Please make sure to read the detailed instructions that we have for each translation components on: https://docs.godotengine.org/en/latest/contributing/documentation/editor_and_docs_localization.html |
Project maintainers | mhilbrunner timothyqiu Akien |
Translation license | CC-BY-3.0 Godot Engine CC-BY-4.0 Godot Documentation MIT Godot Class Reference Godot Editor Godot Properties |
3 hours ago
String statistics
Strings percent | Hosted strings | Words percent | Hosted words | Characters percent | Hosted characters | |
---|---|---|---|---|---|---|
Total | 54,370 | 992,898 | 6,700,612 | |||
Translated | 93% | 50,614 | 88% | 878,866 | 88% | 5,912,021 |
Needs editing | 3% | 1,769 | 5% | 56,061 | 5% | 399,798 |
Read-only | 1% | 97 | 1% | 116 | 1% | 755 |
Failing checks | 1% | 68 | 1% | 3,367 | 1% | 23,621 |
Strings with suggestions | 0% | 0 | 0% | 0 | 0% | 0 |
Untranslated strings | 3% | 1,987 | 5% | 57,971 | 5% | 388,793 |
Quick numbers
and previous 30 days
Trends of last 30 days
+2%
Hosted words
+100%
+2%
Hosted strings
+100%
+1%
Translated
+92%
+8%
Contributors
+100%
fuaisamoe
Translation changed |
|
fuaisamoe
Translation changed |
|
fuaisamoe
Translation changed |
|
fuaisamoe
Translation changed |
|
fuaisamoe
Translation changed |
|
fuaisamoe
Translation changed |
|
fuaisamoe
Translation changed |
|
fuaisamoe
Translation changed |
|
fuaisamoe
Translation changed |
|
fuaisamoe
Translation changed |
|
If [param mode] is set as [code]"any_peer"[/code], allows any peer to call this RPC function. Otherwise, only the authority peer is allowed to call it and [param mode] should be kept as [code]"authority"[/code]. When configuring functions as RPCs with [method Node.rpc_config], each of these modes respectively corresponds to the [constant MultiplayerAPI.RPC_MODE_AUTHORITY] and [constant MultiplayerAPI.RPC_MODE_ANY_PEER] RPC modes. See [enum MultiplayerAPI.RPCMode]. If a peer that is not the authority tries to call a function that is only allowed for the authority, the function will not be executed. If the error can be detected locally (when the RPC configuration is consistent between the local and the remote peer), an error message will be displayed on the sender peer. Otherwise, the remote peer will detect the error and print an error there.
If [param sync] is set as [code]"call_remote"[/code], the function will only be executed on the remote peer, but not locally. To run this function locally too, set [param sync] to [code]"call_local"[/code]. When configuring functions as RPCs with [method Node.rpc_config], this is equivalent to setting [code]call_local[/code] to [code]true[/code].
The [param transfer_mode] accepted values are [code]"unreliable"[/code], [code]"unreliable_ordered"[/code], or [code]"reliable"[/code]. It sets the transfer mode of the underlying [MultiplayerPeer]. See [member MultiplayerPeer.transfer_mode].
The [param transfer_channel] defines the channel of the underlying [MultiplayerPeer]. See [member MultiplayerPeer.transfer_channel].
The order of [param mode], [param sync] and [param transfer_mode] does not matter, but values related to the same argument must not be used more than once. [param transfer_channel] always has to be the 4th argument (you must specify 3 preceding arguments).
[codeblock]
@rpc
func fn(): pass
@rpc("any_peer", "unreliable_ordered")
func fn_update_pos(): pass
@rpc("authority", "call_remote", "unreliable", 0) # Equivalent to @rpc
func fn_default(): pass
[/codeblock]
如果将 [param mode] 提示设为 [code]"any_peer"[/code],则会允许所有对等体调用该 RPC 函数。
否则就若只允许该对等体的控制方调用,此时则应该让 [param mode] 提示保持为 [code]"authority"[/code]。使用 [method Node.rpc_config] 将函数配置为 RPC 时,这些模式分别对应的是 RPC 模式 [constant MultiplayerAPI.RPC_MODE_AUTHORITYNY_PEER] 和 [constant MultiplayerAPI.RPC_MODE_ANY_PEER]UTHORITY] 。如果非控制方的对等体尝试调用仅限控制方调用的函数,则不会执行该函数。,且如果本地能够检测到错误(本地与远程对等体的 RPC 配置一致),则发送方对等体会显示错误消息。否则远程,否则该对等体会检测到该错误并将其输出错误。如果将 [param sync] 提示设为 [code]"call_remote"[/code],则该函数只会在远程对等体上执行,不会在本地执行。要让这个函数在本地也能够执行,请将 [param sync] 设置为 [code]"call_local"[/code]
。,使用 [method Node.rpc_config] 将函数配置为 RPC 时,等价于将 [code]call_local[/code] 设置为 [code]true[/code]。[param transfer_mode] 提示能够接受的值为 [code]"unreliable"[/code]、[code]"unreliable_ordered"[/code]、[code]"reliable"[/code],会设置底层 [MultiplayerPeer] 的传输模式。见 [member MultiplayerPeer.transfer_mode]。
[param transfer_channel] 定义的是底层 [MultiplayerPeer] 的通道。见 [member MultiplayerPeer.transfer_channel]。
[param mode]、[param sync] 和 [param transfer_mode] 的顺序是无关的,但是相同参数的取值不能出现多次。[param transfer_channel] 必须始终为第四个参数(同时前三个参数也必须指定)。
[codeblock]
@rpc
func fn(): pass
@rpc("any_peer", "unreliable_ordered")
func fn_update_pos(): pass
@rpc("authority", "call_remote", "unreliable", 0) # 等价于 @rpc
func fn_default(): pass
[/codeblock]