70 lines
1.6 KiB
XML
70 lines
1.6 KiB
XML
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<class name="WebSocketServer" inherits="WebSocketMultiplayerPeer" category="Core" version="3.1-dev">
|
||
|
<brief_description>
|
||
|
</brief_description>
|
||
|
<description>
|
||
|
</description>
|
||
|
<tutorials>
|
||
|
</tutorials>
|
||
|
<demos>
|
||
|
</demos>
|
||
|
<methods>
|
||
|
<method name="has_peer" qualifiers="const">
|
||
|
<return type="bool">
|
||
|
</return>
|
||
|
<argument index="0" name="id" type="int">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="is_listening" qualifiers="const">
|
||
|
<return type="bool">
|
||
|
</return>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="listen">
|
||
|
<return type="int" enum="Error">
|
||
|
</return>
|
||
|
<argument index="0" name="port" type="int">
|
||
|
</argument>
|
||
|
<argument index="1" name="protocols" type="PoolStringArray" default="PoolStringArray( )">
|
||
|
</argument>
|
||
|
<argument index="2" name="gd_mp_api" type="bool" default="false">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="stop">
|
||
|
<return type="void">
|
||
|
</return>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
</methods>
|
||
|
<signals>
|
||
|
<signal name="client_connected">
|
||
|
<argument index="0" name="id" type="int">
|
||
|
</argument>
|
||
|
<argument index="1" name="protocol" type="String">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</signal>
|
||
|
<signal name="client_disconnected">
|
||
|
<argument index="0" name="id" type="int">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</signal>
|
||
|
<signal name="data_received">
|
||
|
<argument index="0" name="id" type="int">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</signal>
|
||
|
</signals>
|
||
|
<constants>
|
||
|
</constants>
|
||
|
</class>
|