On this page
code
ObserverEvents
This documentation is a work in progress, and we actively welcome contributions. If you have suggestions for improvements or new features, feel free to open a pull request on our GitHub repository. Contribute here. We appreciate your input in making our documentation better for everyone.
Messages
ObserverSwitched
Event when the observer camera switches from viewing one player to another
Field Name | Type | Tag | Description |
---|---|---|---|
timestamp | uint64 | 1 | The timestamp when the observer camera switch occurred. |
category | string | 2 | The category of the event, e.g., “observer_switched”. |
observer | Player | 3 | The observer who is switching the view. |
target | Player | 4 | The new target player that the observer camera is switching to. |
targetTeam | Player[] | 5 | A list of Player objects representing the team of the new target player. |
ObserverAnnotation
Used by observers to annotate events uniquely
Field Name | Type | Tag | Description |
---|---|---|---|
timestamp | uint64 | 1 | The timestamp when the annotation was made. |
category | string | 2 | The category of the event, e.g., “observer_annotation”. |
annotationSerial | int32 | 3 | A serial number uniquely identifying the annotation event. |
Last updated 13 Apr 2024, 12:16 -0400 .