Difference between revisions of "TGame.OnTCPMessage"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''property OnTCPMessage''''' Access mode: RW Event handler type: TOnTCPMessageEvent Event handler declaration: function ('''Ip''': string; '''Port''': Word;...")
 
m
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
   Access mode: RW
 
   Access mode: RW
 
   Event handler type: [[TOnTCPMessageEvent]]
 
   Event handler type: [[TOnTCPMessageEvent]]
   Event handler declaration:  
+
   Event handler declaration: procedure ('''Ip''': string; '''Port''': Word; '''Text''': string);
    function ('''Ip''': string; '''Port''': Word; '''Text''': string): boolean
 
  
 
==Description==
 
==Description==
 
Event property called when a TCP admin sends a message to the server.<br>
 
Event property called when a TCP admin sends a message to the server.<br>
To disable the command used set the function's Result to ''TRUE''.
 
{{bug|(#590) [1.6.8b1] Setting Result to TRUE doesn't stop the command execution}}
 
  
 
[[Category:TGame]][[Category:Events]]
 
[[Category:TGame]][[Category:Events]]

Latest revision as of 18:00, 9 November 2017

property OnTCPMessage
 Access mode: RW
 Event handler type: TOnTCPMessageEvent
 Event handler declaration: procedure (Ip: string; Port: Word; Text: string);

Description

Event property called when a TCP admin sends a message to the server.