ParsecHostPollInput

bool
ps,
uint32_t
timeout,
guest,
msg
)

Poll input messages from connected guests. HOST_GAME only.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
intimeoutTimeout in milliseconds to wait for a new input message to become available.
outguestGuest properties. May be left NULL.
outmsgGeneric input message that can represent any message type.

Returns

true if a new message was availalble and msg was filled, otherwise false if no messages were available.