summaryrefslogtreecommitdiff
path: root/internal_rewrite/skins.hpp
diff options
context:
space:
mode:
authorJustSomePwner <crotchyalt@gmail.com>2018-08-30 14:01:54 +0200
committerJustSomePwner <crotchyalt@gmail.com>2018-08-30 14:01:54 +0200
commit7ccb819f867493f8ec202ea3b39c94c198c64584 (patch)
tree94622e61af0ff359e3d6689cf274d74f60b2492a /internal_rewrite/skins.hpp
parent564d979b79e8a5aaa5014eba0ecd36c61575934f (diff)
first
Diffstat (limited to 'internal_rewrite/skins.hpp')
-rw-r--r--internal_rewrite/skins.hpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/internal_rewrite/skins.hpp b/internal_rewrite/skins.hpp
new file mode 100644
index 0000000..f60deef
--- /dev/null
+++ b/internal_rewrite/skins.hpp
@@ -0,0 +1,33 @@
+#pragma once
+
+#include <cstring>
+
+class c_base_weapon;
+class IGameEvent;
+namespace features
+{
+ class c_skins {
+ private:
+ int m_last_index{ 0 };
+ bool m_needs_update{ };
+
+ int get_knife_index( );
+ const char* get_model_str( );
+
+ const char* get_glove_model( );
+
+ const char* get_killicon_str( );
+
+ //void override_knife( );
+ void override_gloves( );
+ void override_weapon( c_base_weapon* wep );
+ //void update_active_skin( );
+ int get_current_weapon_id( );
+ int get_weapon_id( c_base_weapon* );
+
+
+ public:
+ void operator()( );
+ void replace_deaths( IGameEvent* event );
+ };
+} \ No newline at end of file