Blamite Game Engine - API  00406.12.10.23.1457.blamite
The API for the Blamite Game Engine.
tagref.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 
7 
8 #ifdef BLAM_EXPORTS
9 #define BLAM_EXT_API __declspec(dllexport)
10 #else
11 #define BLAM_EXT_API __declspec(dllimport)
12 #endif
13 
21 {
22 private:
23  std::vector<std::string> valid_classes;
24  int active_class_index = 0;
25  std::string active_tag_class_label = "";
26 
27  std::vector<BlamTagData*> filtered_tag_list = std::vector<BlamTagData*>();
28  int active_tag_index = 0;
29 
30 public:
31  TagReferenceField(std::string _display_name, std::string _extra_info, std::vector<std::string> _valid_classes);
32 
33  std::string GetFieldXMLString(int offset);
34  void ShowImPropertyControl();
35 };
BLAM_EXT_API
#define BLAM_EXT_API
Definition: tagref.h:11
BlamTagClassField.h
tags.h
BlamTagClassField::GetFieldXMLString
virtual std::string GetFieldXMLString(int offset)
Generates a string representing an XML node associated with this tag field, used for generating plugi...
Definition: BlamTagClassField.cpp:32
BlamTagClassField
Base class representing a plugin field.
Definition: BlamTagClassField.h:28
TagReferenceField
Class representing a tag reference, or tagref for short.
Definition: tagref.h:20
BlamTagClassField::ShowImPropertyControl
virtual void ShowImPropertyControl()
Shows a set of ImGUI controls representing the tag field.
Definition: BlamTagClassField.cpp:22