Skip to content
LeviMC
English
AutoLightDark
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
MCAPI 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.

◆ $hasEvents()

MCAPI bool GameController::$hasEvents ( void const * token) const
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.

◆ $getNextEvent()

MCAPI::GameControllerEvent GameController::$getNextEvent ( void const * token)
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.

◆ $getId()

MCAPI int GameController::$getId ( ) const
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.

◆ $isConnected()

MCAPI bool GameController::$isConnected ( ) const
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.

◆ $isAdequateController()

MCAPI bool GameController::$isAdequateController ( ) const
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.

◆ $pairControllerToClient()

MCAPI void GameController::$pairControllerToClient ( ::SubClientId clientId)
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.

◆ $unpairControllerFromClient()

MCAPI void GameController::$unpairControllerFromClient ( )
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.

◆ $isControllerPairedToClient()

MCAPI bool GameController::$isControllerPairedToClient ( ) const
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.

◆ $getPairedClientId()

MCAPI ::std::optional<::SubClientId > GameController::$getPairedClientId ( ) const
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: