Changes

Jump to navigation Jump to search
1,124 bytes added ,  17:07, 26 May 2019
→‎Functions calls: RequestAllowed, SendMessages, ReceiveMessages
Line 322: Line 322:  
''Empty response''
 
''Empty response''
 
  |}
 
  |}
 +
 +
=== ReceiveMessages ===
 +
''Checks for messages''
 +
{|class="wikitable"
 +
! Session required?
 +
! Parameters
 +
! Response
 +
|-
 +
| Yes
 +
|
 +
* '''f''' Current UTC date as YY:MM:DD:hh:mm:ss
 +
|
 +
* '''r''' ''Represents a message, can have multiple of them''
 +
** '''s''' Sender's login
 +
** '''d''' UTC date of sending, as YYYMMDDhhmmss
 +
** '''u''' Subject
 +
** '''t''' Content
 +
** '''o''' Amount of coppers in the message
 +
* '''l''' New copper amount
 +
* '''n''' Current UTC date, as YYYYMMDDhhmmss
 +
|}
 +
 +
=== RequestAllowed ===
 +
''Checks if a request is allowed''
 +
{|class="wikitable"
 +
! Session required?
 +
! Parameters
 +
! Response
 +
|-
 +
| Yes
 +
|
 +
* '''r''' Request type
 +
* '''m''' Unknown. Set to 1.
 +
|
 +
* '''r''' Request type (same a r in parameters)
 +
* '''c''' Cost in coppers
 +
* '''l''' Current coppers amount
 +
* '''a''' 1 if allowed, 0 if not.
 +
|}
 +
 +
=== SendMessages ===
 +
''Sends a message to a player''
 +
{|class="wikitable"
 +
! Session required?
 +
! Parameters
 +
! Response
 +
|-
 +
| Yes
 +
|
 +
* '''r1''' Destination's login
 +
* '''s1''' Subject of the message
 +
* '''m1''' Content of the message
 +
* '''d1''' Amount of copper attached to the message
 +
|
 +
* '''c''' ?
 +
|}
 +
    
=== Subscribe ===
 
=== Subscribe ===
90

edits

Navigation menu