Class Resource#
Defined in File Resource.cs
Inheritance Relationships#
Base Type#
public xbe.sdk.EntityBase
(Class EntityBase)
Class Documentation#
- class xbe.sdk.Models.Resource : xbe.sdk.EntityBase#
Describes an single resource type of the virtual economy.
Properties
- string Name { get; set; }#
The unique name of the resource.
- ResourceCost Cost { get; set; }#
The costs associated with the resource.
- ResourceDefaults Defaults { get; set; }#
The defaults to use when creating new instances of the resource.
- string Description { get; set; }#
Description of the resource.
- Guid ParentUid { get; set; }#
The UUID of the parent resource to inherit stats, description, etc.
- bool Stackable { get; set; }#
Indicates if the resource can be copied and stacked or if each instance is considered unique.
- Statistic > Stats { get; set; }#
The list of stat definitions for the resource.
- string Title { get; set; }#
The name to display to the user.