Leviathan  0.8.0.0
Leviathan game engine
Leviathan::DataListener Struct Reference

#include <DataStore.h>

Public Member Functions

DLLEXPORT DataListener ()
 
DLLEXPORT DataListener (int index, bool onindex, const std::string &var="")
 

Public Attributes

int ListenIndex
 
bool ListenOnIndex
 
std::string VarName
 

Detailed Description

Definition at line 31 of file DataStore.h.

Constructor & Destructor Documentation

◆ DataListener() [1/2]

DLLEXPORT Leviathan::DataListener::DataListener ( )

Definition at line 523 of file DataStore.cpp.

523  {
524  ListenIndex = -1;
525  ListenOnIndex = false;
526  VarName = "";
527 }
std::string VarName
Definition: DataStore.h:37

◆ DataListener() [2/2]

DLLEXPORT Leviathan::DataListener::DataListener ( int  index,
bool  onindex,
const std::string &  var = "" 
)

Definition at line 529 of file DataStore.cpp.

529  {
530 
531  ListenIndex = index;
532  ListenOnIndex = onindex;
533  VarName = var;
534 }
std::string VarName
Definition: DataStore.h:37

Member Data Documentation

◆ ListenIndex

int Leviathan::DataListener::ListenIndex

Definition at line 35 of file DataStore.h.

◆ ListenOnIndex

bool Leviathan::DataListener::ListenOnIndex

Definition at line 36 of file DataStore.h.

◆ VarName

std::string Leviathan::DataListener::VarName

Definition at line 37 of file DataStore.h.


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