Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
UniqueAttribute Class Reference
Inheritance diagram for UniqueAttribute:
Attribute Attribute BTNodeAttribute BaseContainerCustomTitle BaseContainerCustomTitle BaseContainerVersion BaseContainerVersion CinematicTrackAttribute CommonEditorProps CommonEditorProps EventAttribute EventAttribute NonSerialized ReceiverAttribute ReceiverAttribute RplProp ScriptValueAttribute ScriptValueAttribute SortAttribute SortAttribute

Detailed Description

An attribute used to specify that an attribute class is unique. If some attribute is inherited from UniqueAttribute, only the last attribute of the kind is taken into account.

// Attributes declaration:
class AttributeA : UniqueAttribute;
class AttributeB : AttributeA;
class AttributeC : UniqueAttribute;
// Attributes usage:
[AttributeA(), AttributeB(), AttributeC()]
class SomeClass;
// AttributeA and AttributeB are of the same kind and inherits from UniqueAttribute, so only the last one is used.
// The final result after compilation:
[AttributeB(), AttributeC()]
class SomeClass;

Definition at line 31 of file UniqueAttribute.c.


The documentation for this class was generated from the following file: