Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

MultiplayerUser

Represents a single Felgo Multiplayer user. More...

Import Statement: import Felgo 3.0
Since: Felgo 2.8.5
Inherits:

GameNetworkUser

Properties

Detailed Description

The MultiplayerUser is a special type of a GameNetworkUser for games using the multiplayer components.

Property Documentation

activeTurn : bool

Boolean property indicating if it is the user's turn or not during a multiplayer game session, false initially.


connected : bool

Boolean property indicating if the user is currently connected to a specific session or not, false initially.


enabled : bool

Boolean property indicating if it is this player slot is disabled, in which case no player can connect to this slot, false initially.

This property can only be changed when connected is false. If this slot has an invited player and enabled gets set to false, the invitation is removed.

Do not write to this property directly, use the FelgoMultiplayer::enablePlayer() and FelgoMultiplayer::disablePlayer() methods.


invited : bool

Boolean property indicating if the user has been invited or not, false initially.

Do not write to this property directly, use the FelgoMultiplayer::invitePlayers() and FelgoMultiplayer::uninvitePlayer() methods.


leader : bool

Boolean property indicating if the user is the leader of the current game or not, false initially.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded