UserIdEvent Class
Base class for multiplayer events that identify a user by index rather than by object reference.
Stores the user's session index instead of a direct
User reference. The
User property performs a lazy lookup via
GetUser each time it is accessed. Use
UserIndex for performance-sensitive code where the full
User object is not required.
| User | The user associated with this event, resolved from UserIndex on each access. |
| UserIndex | The session-local index of the user associated with this event. |