Co-authored-by: sigonasr2 <sigonasr2@gmail.com>pull/28/head
parent
a69be08a1a
commit
b39bed3958
@ -0,0 +1,20 @@ |
||||
#define VARIANTS float,int,std::string,bool |
||||
#define CREATE_ATTRIBUTE(variable,type) _ATTRIBUTE variable{Attribute::TYPE::type}; |
||||
|
||||
namespace Attribute{ |
||||
enum class TYPE{ |
||||
FLOAT, |
||||
INT, |
||||
STRING, |
||||
BOOL, |
||||
}; |
||||
} |
||||
|
||||
struct _ATTRIBUTE{ |
||||
Attribute::TYPE type; |
||||
}; |
||||
|
||||
namespace Attribute{ |
||||
CREATE_ATTRIBUTE(IFRAME_TIME_UPON_HIT,FLOAT); |
||||
CREATE_ATTRIBUTE(SHOOT_RING_TIMER,FLOAT); |
||||
} |
Loading…
Reference in new issue