LeviLamina
Loading...
Searching...
No Matches
GameController Class Reference
Inheritance diagram for GameController:

Classes

struct  EventQueue

Public Member Functions

virtual bool hasEvents (void const *token) const
virtual::GameControllerEvent getNextEvent (void const *token)
virtual int getId () const
virtual bool isConnected () const
virtual bool isAdequateController () const
virtual void pairControllerToClient (::SubClientId clientId)
virtual void unpairControllerFromClient ()
virtual bool isControllerPairedToClient () const
virtual ::std::optional<::SubClientId > getPairedClientId () const
MCAPI bool $hasEvents (void const *token) const
MCAPI::GameControllerEvent $getNextEvent (void const *token)
MCAPI int $getId () const
MCFOLD bool $isConnected () const
MCAPI bool $isAdequateController () const
MCAPI void $pairControllerToClient (::SubClientId clientId)
MCAPI void $unpairControllerFromClient ()
MCAPI bool $isControllerPairedToClient () const
MCAPI ::std::optional<::SubClientId > $getPairedClientId () const

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::GameController::EventQueue > > mEventQueues
::ll::TypedStorage< 1, 1, bool > mIsConnected
::ll::TypedStorage< 4, 4, int > mControllerId
::ll::TypedStorage< 1, 1, bool > mIsAdequateController
::ll::TypedStorage< 1, 2, ::std::optional<::SubClientId > > mPairedClientId
::ll::TypedStorage< 1, 1, bool > mFoundXboxController
::ll::TypedStorage< 1, 1, bool > mFoundPlaystationController
::ll::TypedStorage< 1, 1, bool > mFoundDualsenseController

Member Function Documentation

◆ hasEvents()

virtual bool GameController::hasEvents ( void const * token) const
virtual

Implements IGameController.

◆ getNextEvent()

virtual::GameControllerEvent GameController::getNextEvent ( void const * token)
virtual

Implements IGameController.

◆ getId()

virtual int GameController::getId ( ) const
virtual

Implements IGameController.

◆ isConnected()

virtual bool GameController::isConnected ( ) const
virtual

Implements IGameController.

◆ isAdequateController()

virtual bool GameController::isAdequateController ( ) const
virtual

Implements IGameController.

◆ pairControllerToClient()

virtual void GameController::pairControllerToClient ( ::SubClientId clientId)
virtual

Implements IGameController.

◆ unpairControllerFromClient()

virtual void GameController::unpairControllerFromClient ( )
virtual

Implements IGameController.

◆ isControllerPairedToClient()

virtual bool GameController::isControllerPairedToClient ( ) const
virtual

Implements IGameController.

◆ getPairedClientId()

virtual ::std::optional<::SubClientId > GameController::getPairedClientId ( ) const
virtual

Implements IGameController.


The documentation for this class was generated from the following files: