Commit adc0eb35 authored by Legodev's avatar Legodev

ADDED: quiet methods of update char and object

parent 2019b8c0
......@@ -18,7 +18,7 @@
#ifndef SOURCE_CONSTANTS_HPP_
#define SOURCE_CONSTANTS_HPP_
#define DLLVERSIONSTRING "[1,0,1,2]"
#define DLLVERSIONSTRING "[1,0,3,1]"
#define CONFIG_FILE_NAME "libredex.cfg"
/*
......@@ -79,6 +79,7 @@
#define PROTOCOL_DBCALL_FUNCTION_LOAD_CHAR "loadChar"
#define PROTOCOL_DBCALL_FUNCTION_CREATE_CHAR "createChar"
#define PROTOCOL_DBCALL_FUNCTION_UPDATE_CHAR "updateChar"
#define PROTOCOL_DBCALL_FUNCTION_QUIET_UPDATE_CHAR "qupdateChar"
#define PROTOCOL_DBCALL_FUNCTION_LOCATIONUPDATE_CHAR "locupdateChar"
#define PROTOCOL_DBCALL_FUNCTION_DECLARE_CHAR_DEATH "killChar"
......@@ -86,6 +87,7 @@
#define PROTOCOL_DBCALL_FUNCTION_CREATE_OBJECT "createObject"
#define PROTOCOL_DBCALL_FUNCTION_QUIET_CREATE_OBJECT "qcreateObject"
#define PROTOCOL_DBCALL_FUNCTION_UPDATE_OBJECT "updateObject"
#define PROTOCOL_DBCALL_FUNCTION_QUIET_UPDATE_OBJECT "qupdateObject"
#define PROTOCOL_DBCALL_FUNCTION_DECLARE_OBJECT_DEATH "killObject"
#define PROTOCOL_DBCALL_FUNCTION_DUMP_OBJECTS "dumpObjects"
......
......@@ -135,6 +135,12 @@ mysql_db_handler::mysql_db_handler(EXT_FUNCTIONS &extFunctions) {
std::make_tuple(
boost::bind(&mysql_db_handler::interupdateChar, this, _1, _2),
ASYNC_MAGIC)));
extFunctions.insert(
std::make_pair(
std::string(PROTOCOL_DBCALL_FUNCTION_QUIET_UPDATE_CHAR),
std::make_tuple(
boost::bind(&mysql_db_handler::interupdateChar, this, _1, _2),
QUIET_MAGIC)));
extFunctions.insert(
std::make_pair(
std::string(PROTOCOL_DBCALL_FUNCTION_DECLARE_CHAR_DEATH),
......@@ -165,6 +171,12 @@ mysql_db_handler::mysql_db_handler(EXT_FUNCTIONS &extFunctions) {
std::make_tuple(
boost::bind(&mysql_db_handler::interupdateObject, this, _1, _2),
ASYNC_MAGIC)));
extFunctions.insert(
std::make_pair(
std::string(PROTOCOL_DBCALL_FUNCTION_QUIET_UPDATE_OBJECT),
std::make_tuple(
boost::bind(&mysql_db_handler::interupdateObject, this, _1, _2),
QUIET_MAGIC)));
extFunctions.insert(
std::make_pair(
std::string(PROTOCOL_DBCALL_FUNCTION_DECLARE_OBJECT_DEATH),
......
......@@ -2,8 +2,8 @@
#define PRODUCT_NAME_STR "libredex"
#define PRODUCT_DESCRIPTION "Desolation Redux Arma3 callExtension"
#define VER_VERSION 1,0,3,1
#define VER_VERSION_STR "1.0.3.1"
#define VER_VERSION 1,0,3,2
#define VER_VERSION_STR "1.0.3.2"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_VERSION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment