Blamite Game Engine - API  00406.12.10.23.1457.blamite
The API for the Blamite Game Engine.
block.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 
20 {
21 private:
22  float indent = 22.0f;
23 
24 public:
25  std::vector<BlamTagClassField*> block_template = std::vector<BlamTagClassField*>();
26  int active_entry = 0;
28 
29  int entry_size = 0;
30  int max_entries = -1;
31 
40  BlockField(int _entry_size, std::string _display_name, std::string _extra_info, std::vector<BlamTagClassField*> _block_template);
41 
51  BlockField(int _entry_size, std::string _display_name, std::string _extra_info, int _max_entries, std::vector<BlamTagClassField*> _block_template);
52 
53  void SetMemoryLocation(void* new_address);
54  std::string GetFieldXMLString(int offset);
55 
59  void ShowImPropertyControl();
60 };
tag_block< void >
BlamTagClassField.h
BLAM_EXT_API
#define BLAM_EXT_API
Definition: block.h:11
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
BlamTagClassField::SetMemoryLocation
virtual void SetMemoryLocation(void *new_address)
Sets the address of the data that the plugin field should display.
Definition: BlamTagClassField.cpp:27
BlockField::block_info
tag_block< void > * block_info
Pointer to the current block info being represented.
Definition: block.h:27
BlamTagClassField::ShowImPropertyControl
virtual void ShowImPropertyControl()
Shows a set of ImGUI controls representing the tag field.
Definition: BlamTagClassField.cpp:22
BlockField
Class representing a tag block field, also sometimes referred to as a struct or reflexive in the modd...
Definition: block.h:19