HytaleDocs
HytaleGenerator

GraphContentPredicates

Asset path: Server/HytaleGenerator/GraphContentPredicates/*.json

This object has different properties depending on the value of the Type property.

All possible options are listed below:

And

AndContentPredicateAsset with the following properties:

KeyTypeDescription
TypeConstant value: And

This field controls the type, it must be set to the constant value "And" to function as this type.

ParentString

When set this asset will inherit properties from the named asset.

When inheriting from another AndContentPredicateAsset most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.

SkipBoolean defaults to: false
ExportAs(Nullable) String defaults to:
ContentPredicates(Nullable) Array of the type: ContentPredicateAsset
Tags(Nullable) Map of the following:
Map
KeyType
any StringArray of String

Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.

For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.

Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.

Constant

ConstantContentPredicateAsset with the following properties:

KeyTypeDescription
TypeConstant value: Constant

This field controls the type, it must be set to the constant value "Constant" to function as this type.

ParentString

When set this asset will inherit properties from the named asset.

When inheriting from another ConstantContentPredicateAsset most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.

SkipBoolean defaults to: false
ExportAs(Nullable) String defaults to:
ValueBoolean defaults to: true
Tags(Nullable) Map of the following:
Map
KeyType
any StringArray of String

Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.

For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.

Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.

Imported

ImportedContentPredicateAsset with the following properties:

KeyTypeDescription
TypeConstant value: Imported

This field controls the type, it must be set to the constant value "Imported" to function as this type.

ParentString

When set this asset will inherit properties from the named asset.

When inheriting from another ImportedContentPredicateAsset most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.

SkipBoolean defaults to: false
ExportAs(Nullable) String defaults to:
Name(Nullable) String defaults to:
Tags(Nullable) Map of the following:
Map
KeyType
any StringArray of String

Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.

For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.

Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.

Not

NotContentPredicateAsset with the following properties:

KeyTypeDescription
TypeConstant value: Not

This field controls the type, it must be set to the constant value "Not" to function as this type.

ParentString

When set this asset will inherit properties from the named asset.

When inheriting from another NotContentPredicateAsset most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.

SkipBoolean defaults to: false
ExportAs(Nullable) String defaults to:
ContentPredicate(Nullable) ContentPredicateAsset
Tags(Nullable) Map of the following:
Map
KeyType
any StringArray of String

Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.

For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.

Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.

Or

OrContentPredicateAsset with the following properties:

KeyTypeDescription
TypeConstant value: Or

This field controls the type, it must be set to the constant value "Or" to function as this type.

ParentString

When set this asset will inherit properties from the named asset.

When inheriting from another OrContentPredicateAsset most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.

SkipBoolean defaults to: false
ExportAs(Nullable) String defaults to:
ContentPredicates(Nullable) Array of the type: ContentPredicateAsset
Tags(Nullable) Map of the following:
Map
KeyType
any StringArray of String

Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.

For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.

Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.

Set

SetContentPredicateAsset with the following properties:

KeyTypeDescription
TypeConstant value: Set

This field controls the type, it must be set to the constant value "Set" to function as this type.

ParentString

When set this asset will inherit properties from the named asset.

When inheriting from another SetContentPredicateAsset most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.

SkipBoolean defaults to: false
ExportAs(Nullable) String defaults to:
ContentTags(Nullable) Array of String
Tags(Nullable) Map of the following:
Map
KeyType
any StringArray of String

Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.

For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.

Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.

On this page