• A hook event that fires whenever some other User joins or leaves the game session. userConnected

    Parameters

    • user: User

      The User who has connected or disconnected

    • connected: boolean

      Is the user now connected (true) or disconnected (false)

    Returns void