@@ -17,11 +17,11 @@ class Result {
1717 static game_value cmd_waitForResult (game_state&, game_value_parameter right);
1818
1919 static void initCommands ();
20- static inline sqf_script_type GameDataDBResult_type;
20+ static inline sqf_script_type* GameDataDBResult_type;
2121 static inline game_data_type GameDataDBResult_typeE;
22- static inline sqf_script_type GameDataDBAsyncResult_type;
22+ static inline sqf_script_type* GameDataDBAsyncResult_type;
2323 static inline game_data_type GameDataDBAsyncResult_typeE;
24- static inline sqf_script_type GameDataDBNull_type;
24+ static inline sqf_script_type* GameDataDBNull_type;
2525 static inline game_data_type GameDataDBNull_typeE;
2626
2727 static inline types::registered_sqf_function handle_cmd_affectedRows;
@@ -38,7 +38,7 @@ class GameDataDBResult : public game_data {
3838public:
3939 GameDataDBResult () {}
4040 void lastRefDeleted () const override { delete this ; }
41- const sqf_script_type& type () const override { return Result::GameDataDBResult_type; }
41+ const sqf_script_type& type () const override { return * Result::GameDataDBResult_type; }
4242 ~GameDataDBResult () override {};
4343
4444 bool get_as_bool () const override { return true ; }
@@ -78,7 +78,7 @@ class GameDataDBAsyncResult : public game_data {
7878public:
7979 GameDataDBAsyncResult () {}
8080 void lastRefDeleted () const override { delete this ; }
81- const sqf_script_type& type () const override { return Result::GameDataDBAsyncResult_type; }
81+ const sqf_script_type& type () const override { return * Result::GameDataDBAsyncResult_type; }
8282 ~GameDataDBAsyncResult () override {};
8383
8484 bool get_as_bool () const override { return true ; }
@@ -124,7 +124,7 @@ class GameDataDBNull : public game_data {
124124public:
125125 GameDataDBNull () {}
126126 void lastRefDeleted () const override { delete this ; }
127- const sqf_script_type& type () const override { return Result::GameDataDBNull_type; }
127+ const sqf_script_type& type () const override { return * Result::GameDataDBNull_type; }
128128 ~GameDataDBNull () override {};
129129
130130 bool get_as_bool () const override { return true ; }
0 commit comments