Changes

Jump to navigation Jump to search
568 bytes added ,  17:39, 12 May 2019
Added desc about auth.
Line 24: Line 24:  
   </game>
 
   </game>
 
   <author>
 
   <author>
     <login/>
+
     [...]
    <session/>
   
   </author>
 
   </author>
 
   <request>
 
   <request>
Line 47: Line 46:  
*** '''distro''' Unknown. Set to MOLUX for TMNF or TAHOR for TMUF
 
*** '''distro''' Unknown. Set to MOLUX for TMNF or TAHOR for TMUF
 
*** '''lang''' lang of the client, as ISO 639-1
 
*** '''lang''' lang of the client, as ISO 639-1
** '''author'''
+
** '''author''' ''See [[#Author]]''
*** '''login''' is not set when calling GetConnectionAndGameParams
  −
*** '''session''' is not set when calling GetConnectionAndGameParams
   
** '''request'''
 
** '''request'''
 
*** '''name''' Name of the requested function.
 
*** '''name''' Name of the requested function.
Line 55: Line 52:  
** '''auth''' ''Optional. Only seen on Connect and Disconnect''
 
** '''auth''' ''Optional. Only seen on Connect and Disconnect''
 
*** '''value''' Looks like an auth ticket.
 
*** '''value''' Looks like an auth ticket.
 +
 +
==== Author ====
 +
The author tag is used to identify the user sending the request. In this documentation, three cases are possible for the author tag:
 +
 +
<ul>
 +
<li>The method doesn't require authentication (denoted as "No (Empty)"), the author tag is filled with following content:
 +
<pre>
 +
<login/>
 +
<session/>
 +
</pre>
 +
</li>
 +
<li>The method requires user name (denoted as "No (Set to 1)"), the author tag is filled with following content:
 +
<pre>
 +
<login>the user's name</login>
 +
<session>1</session>
 +
</pre>
 +
</li>
 +
<li>The method requires authentication (denoted as "Yes"), the author tag is filled with following content:
 +
<pre>
 +
<login>the user's name</login>
 +
<session>the sessions' id</session>
 +
</pre>
 +
</li>
 +
</ul>
    
=== Response ===
 
=== Response ===
90

edits

Navigation menu