Skip to content

Latest commit

 

History

History
390 lines (274 loc) · 8.02 KB

ServerRpc.md

File metadata and controls

390 lines (274 loc) · 8.02 KB

serverRpc.hpp

__rpcmode_server

Type: constant

Description:

Replaced value:

File: host\ServerRpc\serverRpc.hpp at line 7

rpcAdd(name,code)

Type: constant

Description: #endif

  • Param: name
  • Param: code

Replaced value:

[name,code] call server_addEvent

File: host\ServerRpc\serverRpc.hpp at line 13

rpcAddGlobal(name,code)

Type: constant

Description:

  • Param: name
  • Param: code

Replaced value:

[name,code] call rpc_addEventGlobal

File: host\ServerRpc\serverRpc.hpp at line 15

rpcRemove(name,id)

Type: constant

Description:

  • Param: name
  • Param: id

Replaced value:

[name,id] call server_removeEvent

File: host\ServerRpc\serverRpc.hpp at line 17

rpcRemoveGlobal(name,id)

Type: constant

Description:

  • Param: name
  • Param: id

Replaced value:

[name,id] call rpc_removeEventGlobal

File: host\ServerRpc\serverRpc.hpp at line 19

rpcCall(name,args)

Type: constant

Description:

  • Param: name
  • Param: args

Replaced value:

[name,args] call server_callEvent

File: host\ServerRpc\serverRpc.hpp at line 21

rpcSendToClient(owner,name,args)

Type: constant

Description: rpcSend(rpcTypeClient,0,"test",null)

  • Param: owner
  • Param: name
  • Param: args

Replaced value:

[owner,name,args] call server_sendtoclient

File: host\ServerRpc\serverRpc.hpp at line 24

rpcSendToObject(owner,name,args)

Type: constant

Description:

  • Param: owner
  • Param: name
  • Param: args

Replaced value:

[owner,name,args] call server_sendtoclientobject

File: host\ServerRpc\serverRpc.hpp at line 25

rpcSendToAll(name,args)

Type: constant

Description:

  • Param: name
  • Param: args

Replaced value:

[name,args] call server_sendtoallclients

File: host\ServerRpc\serverRpc.hpp at line 27

rpcSendGlobal(name,args)

Type: constant

Description:

  • Param: name
  • Param: args

Replaced value:

[name,args] call rpc_sendGlobal

File: host\ServerRpc\serverRpc.hpp at line 29

getVObjectLink(ref)

Type: constant

Description:

  • Param: ref

Replaced value:

(ref getvariable ['link',locationnull])

File: host\ServerRpc\serverRpc.hpp at line 31

unrefObject(assignVar,ref,iferrordo)

Type: constant

Description:

  • Param: assignVar
  • Param: ref
  • Param: iferrordo

Replaced value:

private assignVar = getVObjectLink(ref); if !isExistsObject(assignVar) exitWith {iferrordo}

File: host\ServerRpc\serverRpc.hpp at line 33

serverRpc_init.sqf

log_server_rpc

Type: constant

Description:

Replaced value:

File: host\ServerRpc\serverRpc_init.sqf at line 8

DISABLED_RPC_LOG

Type: constant

Description:

Replaced value:

["onupdch","onupdob"]

File: host\ServerRpc\serverRpc_init.sqf at line 18

canlog(eventname,code)

Type: constant

Description:

  • Param: eventname
  • Param: code

Replaced value:

if !((toLower eventname) in DISABLED_RPC_LOG) then {code}

File: host\ServerRpc\serverRpc_init.sqf at line 19

debugprint_type

Type: constant

Description:

Replaced value:

"debug_console" callExtension

File: host\ServerRpc\serverRpc_init.sqf at line 21

debugprint_type

Type: constant

Exists if __VM_VALIDATE defined

Description:

Replaced value:

diag_log

File: host\ServerRpc\serverRpc_init.sqf at line 23

rpc_log(event,owner,args)

Type: constant

Exists if log_server_rpc defined

Description:

  • Param: event
  • Param: owner
  • Param: args

Replaced value:

canlog(event,debugprint_type format['[NET::LOG::SERVER]:    <%1> send %4 bytes to (%2) with %3' arg event arg owner arg args arg args call oop_getTypeSizeFull]; ["<%1> send %4 bytes to (%2) with %3" arg event arg owner arg args arg args call oop_getTypeSizeFull] call logInfo)

File: host\ServerRpc\serverRpc_init.sqf at line 27

rpc_simple(data)

Type: constant

Exists if log_server_rpc defined

Description:

  • Param: data

Replaced value:

debugprint_type format['[NET::LOG]:    %1' arg data]; ["<RPC::Simple> %1" arg  data] call logInfo

File: host\ServerRpc\serverRpc_init.sqf at line 28

rpc_log(event,owner,args)

Type: constant

Exists if log_server_rpc not defined

Description:

  • Param: event
  • Param: owner
  • Param: args

Replaced value:

File: host\ServerRpc\serverRpc_init.sqf at line 30

rpc_simple(data)

Type: constant

Exists if log_server_rpc not defined

Description:

  • Param: data

Replaced value:

File: host\ServerRpc\serverRpc_init.sqf at line 31

EMULATE_SERVERINDEBUG

Type: constant

Description:

Replaced value:

File: host\ServerRpc\serverRpc_init.sqf at line 34

server_addEvent

Type: function

Description:

  • Param: _eventName
  • Param: _eventCode

File: host\ServerRpc\serverRpc_init.sqf at line 36

server_removeEvent

Type: function

Description:

  • Param: _eventName
  • Param: _eventId

File: host\ServerRpc\serverRpc_init.sqf at line 43

rpc_removeEventGlobal

Type: function

Description:

  • Param: _eventName
  • Param: _eventId

File: host\ServerRpc\serverRpc_init.sqf at line 48

server_callEvent

Type: function

Description:

  • Param: _eventName
  • Param: _args

File: host\ServerRpc\serverRpc_init.sqf at line 53

server_sendtoclient

Type: function

Description:

  • Param: _clientId
  • Param: _eventName
  • Param: _args

File: host\ServerRpc\serverRpc_init.sqf at line 58

server_sendtoclientobject

Type: function

Description:

  • Param: _clientobj
  • Param: _eventName
  • Param: _args

File: host\ServerRpc\serverRpc_init.sqf at line 77

server_sendtoallclients

Type: function

Description:

  • Param: _eventName
  • Param: _args

File: host\ServerRpc\serverRpc_init.sqf at line 122

rpc_sendGlobal

Type: function

Description:

  • Param: _eventName
  • Param: _args

File: host\ServerRpc\serverRpc_init.sqf at line 139

rpc_getClientEvent

Type: function

Exists if DEBUG defined

Description:

  • Param: _name

File: host\ServerRpc\serverRpc_init.sqf at line 162

rpc_getServerEvent

Type: function

Exists if DEBUG defined

Description:

  • Param: _name

File: host\ServerRpc\serverRpc_init.sqf at line 166