Loading...
Searching...
No Matches
AdventureCore.AttributeValue Class Reference

Detailed Description

serializable utility class that combines an attribute with a value
useful for configuring attribute values in the inspector
for example the starting attributes of an AttributePool or the required attributes for equipment

Public Member Functions

 AttributeValue (AttributeType attribute, int value)
 
override string ToString ()
 

Static Public Member Functions

static AttributeValue operator* (AttributeValue q, int n)
 
static AttributeValue operator/ (AttributeValue q, int n)
 
static AttributeValue operator+ (AttributeValue q, int n)
 
static AttributeValue operator- (AttributeValue q, int n)
 

Public Attributes

AttributeType Attribute
 
int Value