OpenClonk
C4GamePadOpener Class Reference

#include <C4GamePadCon.h>

Public Member Functions

 C4GamePadOpener (int iGamePad)
 
 ~C4GamePadOpener ()
 
int32_t GetPlayer () const
 
void SetPlayer (int32_t plr)
 
int32_t GetID ()
 
bool IsAttached ()
 
void PlayRumble (float strength, uint32_t length)
 
void StopRumble ()
 

Detailed Description

Definition at line 62 of file C4GamePadCon.h.

Constructor & Destructor Documentation

◆ C4GamePadOpener()

C4GamePadOpener::C4GamePadOpener ( int  iGamePad)

Definition at line 270 of file C4GamePadCon.cpp.

References ~C4GamePadOpener().

270 { }
Here is the call graph for this function:

◆ ~C4GamePadOpener()

C4GamePadOpener::~C4GamePadOpener ( )
default

Referenced by C4GamePadOpener().

Here is the caller graph for this function:

Member Function Documentation

◆ GetID()

int32_t C4GamePadOpener::GetID ( )

Definition at line 272 of file C4GamePadCon.cpp.

272 { return -1; }

◆ GetPlayer()

int32_t C4GamePadOpener::GetPlayer ( ) const
inline

Definition at line 71 of file C4GamePadCon.h.

References C4ScriptGuiWindowPropertyName::player.

71 { return player; }

◆ IsAttached()

bool C4GamePadOpener::IsAttached ( )

Definition at line 273 of file C4GamePadCon.cpp.

273 { return false; }

◆ PlayRumble()

void C4GamePadOpener::PlayRumble ( float  strength,
uint32_t  length 
)

Definition at line 274 of file C4GamePadCon.cpp.

274 { }

◆ SetPlayer()

void C4GamePadOpener::SetPlayer ( int32_t  plr)
inline

Definition at line 72 of file C4GamePadCon.h.

72 { player = plr; }

◆ StopRumble()

void C4GamePadOpener::StopRumble ( )

Definition at line 275 of file C4GamePadCon.cpp.

275 { }

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