Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //| Terms && Perms |\\
- /*
- Copyright holder is and was 0x00000539@UC
- Contact: https://www.unknowncheats.me/forum/members/1641196.html
- If you want to use this snippet please ask me.
- */
- //| Includes |\\
- #include <vector>
- //| Code |\\
- namespace AddOnSystem
- {
- struct AddOnGlobalStruct
- {
- std::string identifier;
- long float numeric_value;
- void * undefines_value;
- AddOnGlobalStruct ( std::string , long float );
- AddOnGlobalStruct ( std::string , void* );
- };
- class AddOnGlobals
- {
- private:
- std::vector < AddOnGlobalStruct* > Globals;
- public:
- AddOnGlobals ( );
- int AddValue ( std::string , long float );
- int AddValue ( std::string , void* );
- long float GetNumeric ( int );
- long float GetNumeric ( std::string );
- void* GetUndefined ( int );
- void* GetUndefined ( std::string );
- void OverwriteNumeric ( int , long float );
- void OverwriteNumeric ( std::string , long float );
- void OverwriteUndefined ( int , void* );
- void OverwriteUndefined ( std::string , void* );
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement