Skip to content

Commit

Permalink
Update for Intercept API v3 and some submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
dedmen committed Apr 26, 2023
1 parent 7ff7601 commit 292040d
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion intercept
Submodule intercept updated 102 files
2 changes: 1 addition & 1 deletion mariadb-connector-c
2 changes: 1 addition & 1 deletion mariadbpp
2 changes: 1 addition & 1 deletion src/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class GameDataDBConnection : public game_data {
public:
GameDataDBConnection() {}
void lastRefDeleted() const override { delete this; }
const sqf_script_type& type() const override { return Connection::GameDataDBConnection_type; }
const sqf_script_type& type() const override { return *Connection::GameDataDBConnection_type; }
~GameDataDBConnection() override {};

bool get_as_bool() const override { return true; }
Expand Down
2 changes: 1 addition & 1 deletion src/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Connection {


static void initCommands();
static inline sqf_script_type GameDataDBConnection_type;
static inline sqf_script_type* GameDataDBConnection_type;
static inline game_data_type GameDataDBConnection_typeE;


Expand Down
4 changes: 2 additions & 2 deletions src/query.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Query {


static void initCommands();
static inline sqf_script_type GameDataDBQuery_type;
static inline sqf_script_type* GameDataDBQuery_type;
static inline game_data_type GameDataDBQuery_typeE;

static inline types::registered_sqf_function handle_cmd_prepareQuery;
Expand All @@ -45,7 +45,7 @@ class GameDataDBQuery : public game_data {
public:
GameDataDBQuery() {}
void lastRefDeleted() const override { delete this; }
const sqf_script_type& type() const override { return Query::GameDataDBQuery_type; }
const sqf_script_type& type() const override { return *Query::GameDataDBQuery_type; }
~GameDataDBQuery() override {};

bool get_as_bool() const override { return true; }
Expand Down
12 changes: 6 additions & 6 deletions src/res.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ class Result {
static game_value cmd_waitForResult(game_state&, game_value_parameter right);

static void initCommands();
static inline sqf_script_type GameDataDBResult_type;
static inline sqf_script_type* GameDataDBResult_type;
static inline game_data_type GameDataDBResult_typeE;
static inline sqf_script_type GameDataDBAsyncResult_type;
static inline sqf_script_type* GameDataDBAsyncResult_type;
static inline game_data_type GameDataDBAsyncResult_typeE;
static inline sqf_script_type GameDataDBNull_type;
static inline sqf_script_type* GameDataDBNull_type;
static inline game_data_type GameDataDBNull_typeE;

static inline types::registered_sqf_function handle_cmd_affectedRows;
Expand All @@ -38,7 +38,7 @@ class GameDataDBResult : public game_data {
public:
GameDataDBResult() {}
void lastRefDeleted() const override { delete this; }
const sqf_script_type& type() const override { return Result::GameDataDBResult_type; }
const sqf_script_type& type() const override { return *Result::GameDataDBResult_type; }
~GameDataDBResult() override {};

bool get_as_bool() const override { return true; }
Expand Down Expand Up @@ -78,7 +78,7 @@ class GameDataDBAsyncResult : public game_data {
public:
GameDataDBAsyncResult() {}
void lastRefDeleted() const override { delete this; }
const sqf_script_type& type() const override { return Result::GameDataDBAsyncResult_type; }
const sqf_script_type& type() const override { return *Result::GameDataDBAsyncResult_type; }
~GameDataDBAsyncResult() override {};

bool get_as_bool() const override { return true; }
Expand Down Expand Up @@ -124,7 +124,7 @@ class GameDataDBNull : public game_data {
public:
GameDataDBNull() {}
void lastRefDeleted() const override { delete this; }
const sqf_script_type& type() const override { return Result::GameDataDBNull_type; }
const sqf_script_type& type() const override { return *Result::GameDataDBNull_type; }
~GameDataDBNull() override {};

bool get_as_bool() const override { return true; }
Expand Down
2 changes: 1 addition & 1 deletion yaml-cpp
Submodule yaml-cpp updated 496 files

0 comments on commit 292040d

Please sign in to comment.