ParsecGuest
Guest properties.
Member of ParsecGuestStateChangeEvent
and ParsecUserDataEvent
. Returned by ParsecHostGetGuests
and ParsecHostPollInput
.
Fields
Type | Name | Description |
---|---|---|
ParsecPermissions | perms | Guest input permissions. HOST_DESKTOP only. |
ParsecMetrics | metrics | Latency performance metrics, only valid in state GUEST_CONNECTED . |
ParsecGuestState | state | Guest connection lifecycle states. |
ParsecProtocol | protocol | The protocol used by the guest's connection. |
uint32_t | id | Guest ID passed to various host functions. |
uint32_t | userID | Implementation defined. |
time_t | connectTime | Time since the guest connected to the host in seconds since Epoch. |
time_t | keyboardTime | Time of the last input from the keyboard in seconds since Epoch. |
time_t | mouseTime | Time of the last input from the mouse in seconds since Epoch. |
time_t | gamepadTime | Time of the last input from the gamepad in seconds since Epoch. |
time_t | penTime | Time of the last input from the pen in seconds since Epoch. |
char | attemptID | UTF-8 null-terminated attempt ID used during connection attempt. |
char | name | UTF-8 null-terminated string, implementation defined. |
bool | owner | The guest is also the owner of the host computer. HOST_DESKTOP only. |