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
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<poem style="border: 2px solid #d6d2c5; background-color: #f2f4e6; padding: 1em;">
<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.
This function was added in LibRPC (API 1.4) (released on 27.Jun.2023) and will not work on previous versions.
</poem>
</poem>
{{Welcome|desc=Performs sq_set/sq_newslot on remote vm.|
{{Welcome|desc=Sends ServerData to performs sq_set/sq_newslot on remote vm.|
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'''
::p3 : The value for the set operation.
::p3 : The value for the set operation.
</poem>
</poem>
|relfuncs=*[[LibRPC_Z|Z]]}}

Latest revision as of 06:57, 28 June 2023

This function was added in LibRPC (API 1.4) (released on 27.Jun.2023) 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.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.