Difference between revisions of "CBlob::SendCommand"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> </onlyinclude> <syntaxhighlight lang="cpp"> void SendCommand( u8 cmd, CBitStream@ params ) </syntaxhighlight> Object method of: CBlob [[Category:Scrip...")
 
m (Short description)
 
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
+
Sends a command over the network.
 
</onlyinclude>
 
</onlyinclude>
+
 
 +
This method sends a command, which is much like a remote procedure call, over the network. When called on the server, the local onCommand handler is called immidiately, but not if called on a client.
 +
 
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
 
   
 
   

Latest revision as of 15:58, 31 January 2016

Sends a command over the network.


This method sends a command, which is much like a remote procedure call, over the network. When called on the server, the local onCommand handler is called immidiately, but not if called on a client.

 
void SendCommand( u8 cmd, CBitStream@ params )

Object method of: CBlob