BlzTriggerRegisterPlayerSyncEvent

Parameters
whichTrigger trigger
whichPlayer player
prefix string
fromServer boolean

"should be false".

comment

Create an event that listens to messages sent by player with prefix. (see: BlzSendSyncData).

One can create a player SyncEvent for any prefix with TriggerRegisterPlayerEvent(whichTrigger, whichPlayer, EVENT_PLAYER_SYNC_DATA).

GetTriggerPlayer() is the message source.

patch

1.31.0.11889

Source
common.j
return type
event
Source code
native BlzTriggerRegisterPlayerSyncEvent           takes trigger whichTrigger, player whichPlayer, string prefix, boolean fromServer returns event