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 void _feedConnectionStateChange (bool newConnectionState)
MCAPI bool $hasEvents (void const *token) const
MCAPI::GameControllerEvent $getNextEvent (void const *token)
MCFOLD int $getId () const
MCFOLD bool $isConnected () const
MCFOLD bool $isAdequateController () const
MCAPI void $pairControllerToClient (::SubClientId clientId)
MCFOLD void $unpairControllerFromClient ()
MCAPI bool $isControllerPairedToClient () const
MCAPI ::std::optional<::SubClientId > $getPairedClientId () const

Static Public Member Functions

static MCAPI void ** $vftable ()

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.

◆ $vftable()

MCAPI void ** GameController::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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