LibRPC S: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f2f4e6; padding: 1em;"> This function was added in LibRPC (API 1.3) (not released as on writing this page) and will not work on previous versions. </poem> {{Welcome|desc=Performs sq_set/sq_newslot on remote vm.| params=<source lang="lua">( p1, p2, p3 )</source> <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. ::...")
 
No edit summary
Line 10: Line 10:
::p3 : The value for the set operation.
::p3 : The value for the set operation.
</poem>
</poem>
|}}

Revision as of 15:34, 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:
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 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.