JSAbilityBase
From Virtual World Web Wiki
- This is a JavaScript visible object
Remarks [edit]
Properties
- string Description {get;}
- The description of the Ability
- Guid EntryID {get;}
- Guid ID {get;}
- Returns the ID of the Ability
- string Identifier {get;}
- The internal identifier of the Ability
- bool IsGroup {get;}
- Returns if this is an AbilityGroup or an AbilityEntry
- string Name {get; set;}
- Returns the display name of the Ability
- JSAbilityGroup Parent {get;}
- Returns the parent AbilityGroup, if any.
Methods
- ReturnType GetMetadata(string key = NULL)
- Returns the value in a given metadata slot, or the entire string metadata if no key is given
- ReturnType GetMetaData(string key = NULL)
- void SetBoolean(string key, bool value)
- Adds a boolean value to the Ability's Metadata
- void SetFloat(string key, float value)
- Adds a floating point number to the Ability's Metadata
- void SetInteger(string key, int value)
- Adds an integer to the Ability's Metadata
- void SetResourceValue(string key, ResourceValue value)
- Adds a ResourceValue to the Ability's Metadata
- void SetString(string key, string value)
- Adds a string to the Ability's Metadata