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); } }
public static bool Registered(string propertyName, eDecorType type) { return(Function.Call <bool>(Hash.DECOR_IS_REGISTERED_AS_TYPE, propertyName, (int)type)); }