Minor improvements to NetworkedMultiplayerCustom.xml
This commit is contained in:
parent
dff0e76910
commit
d3ae6566b4
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="self_peer_id" type="int" />
|
<argument index="0" name="self_peer_id" type="int" />
|
||||||
<description>
|
<description>
|
||||||
Initialize the peer with the given [code]peer_id[/code] (must be between 1 and 2147483647).
|
Initialize the peer with the given [code]self_peer_id[/code] (must be between 1 and 2147483647).
|
||||||
Can only be called if the connection status is [constant NetworkedMultiplayerPeer.CONNECTION_CONNECTING]. See [method set_connection_status].
|
Can only be called if the connection status is [constant NetworkedMultiplayerPeer.CONNECTION_CONNECTING]. See [method set_connection_status].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
<argument index="1" name="buffer" type="PoolByteArray" />
|
<argument index="1" name="buffer" type="PoolByteArray" />
|
||||||
<argument index="2" name="transfer_mode" type="int" />
|
<argument index="2" name="transfer_mode" type="int" />
|
||||||
<description>
|
<description>
|
||||||
Emitted when the local [MultiplayerAPI] generates a packet.
|
Emitted when the local [MultiplayerAPI] generates a packet (e.g. when calling [method Node.rpc]).
|
||||||
Your script should take this packet and send it to the requested peer over the network (which should call [method deliver_packet] with the data when it's received).
|
Your script should take this packet and send it to the requested peer over the network (which should call [method deliver_packet] with the data when it's received).
|
||||||
</description>
|
</description>
|
||||||
</signal>
|
</signal>
|
||||||
|
|
Loading…
Add table
Reference in a new issue