Beispiel #1
0
 public static void Register(string propertyName, eDecorType type)
 {
     if (!Function.Call <bool>(Hash.DECOR_IS_REGISTERED_AS_TYPE, propertyName, (int)type))
     {
         Function.Call(Hash.DECOR_REGISTER, propertyName, (int)type);
     }
 }
Beispiel #2
0
 public static bool Registered(string propertyName, eDecorType type)
 {
     return(Function.Call <bool>(Hash.DECOR_IS_REGISTERED_AS_TYPE, propertyName, (int)type));
 }