LibRPC S: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
params=<source lang="lua">( p1, p2, p3 )</source>
params=<source lang="lua">( p1, p2, p3 )</source>
<poem>
<poem>
::p1 : The object in which sq_set is performed. If string then p1 is considered key and p2 as value for the set operation and p3 is not checked.
::p1 : The object in which sq_set is performed. If string then p1 is considered key and p2 as value for the set operation and p3 is not needed/checked.
::p2 : They key for the set operation.
::p2 : They key for the set operation.
'''Optional parameter'''
'''Optional parameter'''

Revision as of 15:36, 27 June 2023

This function was added in LibRPC (API 1.3) (not released as on writing this page) and will not work on previous versions.


Description:
Sends ServerData to performs sq_set/sq_newslot on remote vm.


Parameters:

( p1, p2, p3 )

p1 : The object in which sq_set is performed. If string then p1 is considered key and p2 as value for the set operation and p3 is not needed/checked.
p2 : They key for the set operation.
Optional parameter
p3 : The value for the set operation.


Return Values:
This function does not return any specific values.