register the function and the tag
This commit is contained in:
@@ -57,6 +57,9 @@ PlugIn::PlugIn() :
|
|||||||
m_compatible(false) {
|
m_compatible(false) {
|
||||||
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
||||||
|
|
||||||
|
this->RegisterTagItemType("Delta time", static_cast<int>(PlugIn::TagItemElement::DeltaTime));
|
||||||
|
this->RegisterTagItemFunction("Force planning", static_cast<int>(PlugIn::TagItemFunction::ForceToBackend));
|
||||||
|
|
||||||
this->DisplayUserMessage(PLUGIN_NAME, "INFO", (std::string("Loaded ") + PLUGIN_NAME + " " + PLUGIN_VERSION).c_str(), true, true, false, false, false);
|
this->DisplayUserMessage(PLUGIN_NAME, "INFO", (std::string("Loaded ") + PLUGIN_NAME + " " + PLUGIN_VERSION).c_str(), true, true, false, false, false);
|
||||||
|
|
||||||
/* get the dll-path */
|
/* get the dll-path */
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ namespace aman {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
enum class TagItemElement {
|
enum class TagItemElement {
|
||||||
|
DeltaTime = 0
|
||||||
};
|
};
|
||||||
|
|
||||||
void validateBackendData();
|
void validateBackendData();
|
||||||
|
|||||||
Reference in New Issue
Block a user