triggerPeerNetworkEvent: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(No difference)
|
Latest revision as of 18:04, 7 May 2020
Function
Client Only
Online and Offline
Available since Client 1.0.0
void triggerPeerNetworkEvent(string networkEventName, Client client, [ ... ])
The triggerPeerNetworkEvent function is used to trigger a custom peer to peer network event.
Parameters
1) | string | networkEventName | The name of the network event, case-insensitive. |
2) | Client | client | The client to trigger the network event for. |
3) | vararg | ... | Optional, defaults to n/a. Arguments to send to the scripting functions that are bound to the network event. |
Return
void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.
Related
Client Related
addEvent
addEventHandler
bindEventHandler
removeEventHandler
triggerEvent
triggerNetworkEvent
unbindEventHandler