Elaztek Developer Hub
Blamite Game Engine - blam!  00310.02.05.21.0336.blamite
The core library for the Blamite Game Engine.
Bitfield8Field Class Reference

Class representing a bitfield8 tag field. More...

#include <bitfield.h>

+ Inheritance diagram for Bitfield8Field:

Public Member Functions

 Bitfield8Field (std::string _display_name, std::string _extra_info, std::vector< std::string > _options)
 
- Public Member Functions inherited from BitfieldField
 BitfieldField (BlamPluginFieldType _type, std::string _display_name, std::string _extra_info, std::vector< std::string > _options)
 
void ShowImPropertyControl ()
 Shows a set of ImGUI controls representing the tag field. More...
 
std::string GetFieldXMLString (int offset)
 Generates a string representing an XML node associated with this tag field, used for generating plugin files. More...
 
- Public Member Functions inherited from BlamPluginField
 BlamPluginField (BlamPluginFieldType _type, std::string _display_name, std::string _extra_info)
 
virtual void SetMemoryLocation (void *new_address)
 Sets the address of the data that the plugin field should display. More...
 

Additional Inherited Members

- Public Attributes inherited from BitfieldField
std::vector< std::string > options
 List of options available in the bitfield. More...
 
- Public Attributes inherited from BlamPluginField
std::string display_name
 The display name of the tag field. More...
 
std::string extra_info
 Additional information to show alongside the field. More...
 
void * read_address
 The address of the data the field is currently representing. More...
 
int read_length
 How many bytes to read from the start of the address. More...
 
BlamPluginFieldType type
 The type of the field. More...
 

Detailed Description

Class representing a bitfield8 tag field.

Bitfield8 tag fields store 8 boolean values, and take up 8 bytes in memory.

Constructor & Destructor Documentation

◆ Bitfield8Field()

Bitfield8Field::Bitfield8Field ( std::string  _display_name,
std::string  _extra_info,
std::vector< std::string >  _options 
)

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