[Net] Expose get_remote_address get_remote_port.
This commit is contained in:
parent
7bb92bc040
commit
426fe7ebdd
2 changed files with 14 additions and 0 deletions
|
|
@ -18,6 +18,18 @@
|
|||
Returns the number of channels allocated for communication with peer.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_remote_address" qualifiers="const">
|
||||
<return type="String" />
|
||||
<description>
|
||||
Returns the IP address of this peer.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_remote_port" qualifiers="const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
Returns the remote port of this peer.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_state" qualifiers="const">
|
||||
<return type="int" enum="ENetPacketPeer.PeerState" />
|
||||
<description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue