Revision Difference
ConnectionManager.OnMessage#562033
<member category="class" type="method" namespace="Steamworks" parent="ConnectionManager" name="OnMessage">
<args>
<arg name="data" type="System.IntPtr"></arg>
<arg name="size" type="int"></arg>
<arg name="messageNum" type="System.Int64"></arg>
<arg name="recvTime" type="System.Int64"></arg>
<arg name="channel" type="int"></arg>
</args>
<return type="void"></return>
</member>
⤶
# How to use?⤶
⤶
Allow clients to receive message from server , in order receive data see Receive method.⤶
Data is received as Intptr , if needed you'll need to convert it to byte[]. (you can check Marshal.Copy for that)