OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4ControlPlayerControl::ControlItem Struct Reference

#include <C4Control.h>

Public Member Functions

 ControlItem ()
 
 ControlItem (int32_t iControl, int32_t iTriggerMode)
 
void CompileFunc (StdCompiler *pComp)
 
bool operator== (const struct ControlItem &cmp) const
 

Public Attributes

int32_t iControl
 
int32_t iTriggerMode
 

Detailed Description

Definition at line 213 of file C4Control.h.

Constructor & Destructor Documentation

C4ControlPlayerControl::ControlItem::ControlItem ( )
inline

Definition at line 217 of file C4Control.h.

C4ControlPlayerControl::ControlItem::ControlItem ( int32_t  iControl,
int32_t  iTriggerMode 
)
inline

Member Function Documentation

void C4ControlPlayerControl::ControlItem::CompileFunc ( StdCompiler pComp)

Definition at line 439 of file C4Control.cpp.

References iControl, iTriggerMode, StdCompiler::Separator(), and StdCompiler::Value().

440 {
441  pComp->Value(iControl);
442  pComp->Separator();
443  pComp->Value(iTriggerMode);
444 }
virtual bool Separator(Sep eSep=SEP_SEP)
Definition: StdCompiler.h:129
void Value(const T &rStruct)
Definition: StdCompiler.h:171

Here is the call graph for this function:

bool C4ControlPlayerControl::ControlItem::operator== ( const struct ControlItem cmp) const
inline

Definition at line 220 of file C4Control.h.

References iControl, and iTriggerMode.

220 { return iControl==cmp.iControl && iTriggerMode == cmp.iTriggerMode; }

Member Data Documentation

int32_t C4ControlPlayerControl::ControlItem::iControl

Definition at line 215 of file C4Control.h.

Referenced by CompileFunc(), C4PlayerControl::ExecuteControlPacket(), and operator==().

int32_t C4ControlPlayerControl::ControlItem::iTriggerMode

Definition at line 216 of file C4Control.h.

Referenced by CompileFunc(), C4PlayerControl::ExecuteControlPacket(), and operator==().


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