Added a Variant type ( for holding variable type values ) to NLMISC

--HG--
branch : gsoc2013-dfighter
hg/feature/gsoc2013-dfighter
dfighter1985 12 years ago
parent 9306bd71e6
commit a113c81db3

@ -19,6 +19,7 @@
#define DYN_MATERIAL_H #define DYN_MATERIAL_H
#include "nel/misc/stream.h" #include "nel/misc/stream.h"
#include "nel/misc/variant.h"
#include <string> #include <string>
#include <vector> #include <vector>
@ -42,7 +43,8 @@ namespace NL3D
std::string prop; std::string prop;
std::string label; std::string label;
uint8 type; uint8 type;
std::string value;
NLMISC::Variant value;
void serial( NLMISC::IStream &f ); void serial( NLMISC::IStream &f );
}; };

Loading…
Cancel
Save