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 32 of file DataStore.h.

Constructor & Destructor Documentation

◆ DataListener() [1/2]

DLLEXPORT Leviathan::DataListener::DataListener ( )

Definition at line 563 of file DataStore.cpp.

564 {
565  ListenIndex = -1;
566  ListenOnIndex = false;
567  VarName = "";
568 }
std::string VarName
Definition: DataStore.h:38

◆ DataListener() [2/2]

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

Definition at line 570 of file DataStore.cpp.

572 {
573 
574  ListenIndex = index;
575  ListenOnIndex = onindex;
576  VarName = var;
577 }
std::string VarName
Definition: DataStore.h:38

Member Data Documentation

◆ ListenIndex

int Leviathan::DataListener::ListenIndex

Definition at line 36 of file DataStore.h.

◆ ListenOnIndex

bool Leviathan::DataListener::ListenOnIndex

Definition at line 37 of file DataStore.h.

◆ VarName

std::string Leviathan::DataListener::VarName

Definition at line 38 of file DataStore.h.


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