![]() |
ezEngine Release 26.9
|
#include <AssetCheckRules.h>

Public Member Functions | |
| virtual ezStringView | GetDisplayName () const override |
| virtual ezStringView | GetDescription () const override |
Public Member Functions inherited from ezAssetCheckRule | |
| virtual bool | CanFix () const |
| Whether the rule can fix the issues it reports. If false, auto-fix has no effect for it. | |
| virtual bool | AppliesToDocumentType (ezStringView sDocumentTypeName) const |
| Whether the rule should run on documents of the given type. Defaults to all types. | |
| virtual void | CheckDocument (ezAssetCheckContext &ref_ctx) |
Public Member Functions inherited from ezReflectedClass | |
| virtual const ezRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const ezRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it. | |
| template<typename T > | |
| EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it. | |
Protected Member Functions | |
| virtual void | CheckProperty (ezAssetCheckContext &ref_ctx, const ezDocumentObject *pObject, const ezAbstractProperty *pProp) override |
Protected Member Functions inherited from ezAssetCheckRule | |
| virtual void | CheckObject (ezAssetCheckContext &ref_ctx, const ezDocumentObject *pObject) |
Additional Inherited Members | |
Static Public Member Functions inherited from ezAssetCheckRule | |
| static void | CreateRules (ezDynamicArray< ezAssetCheckRule * > &out_rules) |
| Allocates one instance of every reflected, allocatable rule type, sorted by display name. | |
| static void | DestroyRules (ezDynamicArray< ezAssetCheckRule * > &ref_rules) |
Static Public Member Functions inherited from ezNoBase | |
| static const ezRTTI * | GetStaticRTTI () |
Static Protected Member Functions inherited from ezAssetCheckRule | |
| static ezResult | GetPropertyValues (ezObjectAccessorBase *pAcc, const ezDocumentObject *pObject, const ezAbstractProperty *pProp, ezDynamicArray< ezVariant > &out_indices, ezDynamicArray< ezVariant > &out_values) |
Reports properties marked with ezRequiredAttribute that are left empty, or, for game object / component reference properties, that reference an object which does not exist (anymore).
There is no sensible value to auto-fix this with, so these are always reported as errors.
|
overrideprotectedvirtual |
Inspects a single property of an object. The default does nothing.
Called for Member, Array, Set and Map properties alike. Use GetPropertyValues to read the contained element values without having to special-case the property category.
Reimplemented from ezAssetCheckRule.
|
overridevirtual |
Implements ezAssetCheckRule.
|
inlineoverridevirtual |
Implements ezAssetCheckRule.