Namespace axr::sdk::Network::GameFramework
- namespace axr.sdk.Network.GameFramework
- class BasicGameController : public axr.sdk.Network.GameFramework.IGameController
Manages the state of a networked game session as the authoritative host or server.
The authoritative host/server has the ability to perform any action and control any object within the context of the network session.
The controller manages a collection of connected player controllers. Each player controller gives this server the ability to override any action or state triggered by another player.
Only one instance of the GameController ever exists in a network context at a time. This instance only runs on the host/server’s machine. Each player’s client will have a copy of the
GameState
object only. However, each player will have exactly one copy of the PlayerController for the player that they directly control.
- class BasicPlayerController : public axr.sdk.Network.NetworkObject, public axr.sdk.Network.GameFramework.IPlayerController
Manages the state of a player participating in a networked game session on behalf of a local client.
- class GameState : public axr.sdk.Network.NetworkObject
Represents a single game session’s state within the network.
- interface IGameController
Manages the state of a networked game session as the authoritative host or server.
The authoritative host/server has the ability to perform any action and control any object within the context of the network session.
The controller manages a collection of connected player controllers. Each player controller gives this server the ability to override any action or state triggered by another player.
Only one instance of the GameController ever exists in a network context at a time. This instance only runs on the host/server’s machine. Each player’s client will have a copy of the
GameState
object only. However, each player will have exactly one copy of the PlayerController for the player that they directly control.Subclassed by axr.sdk.Network.GameFramework.BasicGameController
- interface IPlayerController : public axr.sdk.Network.INetworkObject
Manages the state of a participating player in a networked session.
Subclassed by axr.sdk.Network.GameFramework.BasicPlayerController
- class PlayerState : public axr.sdk.Network.NetworkObject
Represents a single player’s state within a network session.