Elaztek Developer Hub
Blamite Game Engine - blam!  00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
dataref.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 
5 #include "../BlamPluginField.h"
6 #include "../../tags.h"
7 
15 {
16 private:
17  bool view_raw = true;
18 
19 public:
20  DataReferenceField(std::string _display_name, std::string _extra_info);
21 
22  std::string GetFieldXMLString(int offset);
23  void ShowImPropertyControl();
24 };
DataReferenceField
Class representing a data reference, or dataref for short.
Definition: dataref.h:14
DataReferenceField::ShowImPropertyControl
void ShowImPropertyControl()
Shows a set of ImGUI controls representing the tag field.
Definition: dataref.cpp:26
DataReferenceField::DataReferenceField
DataReferenceField(std::string _display_name, std::string _extra_info)
Definition: dataref.cpp:6
BlamPluginField
Base class representing a plugin field.
Definition: BlamPluginField.h:49
DataReferenceField::GetFieldXMLString
std::string GetFieldXMLString(int offset)
Generates a string representing an XML node associated with this tag field, used for generating plugi...
Definition: dataref.cpp:12