placeholder that redirects to an actual component when a character with a specified id is available
can be used to bind things like UI to components of characters that will spawn during gameplay
https://adventure.softleitner.com/manual/resource
|
override ResourcePool | GetRootPool () |
|
override bool | ContainsResource (ResourceType resourceType) |
|
override bool | ClearResource (ResourceType resourceType, Object source) |
|
override void | ResetResources () |
|
override ResourceValue | GetResourceValue (ResourceType resource) |
|
override bool | HasValue (ResourceType resource) |
|
void | Initialize () |
|
bool | HasResourceQuantity (ResourceQuantity resourceQuantity) |
|
bool | HasResourceQuantity (IEnumerable< ResourceQuantity > resourceQuantities) |
|
bool | HasAnyResource (ResourceType resourceType) |
|
bool | HasAnyResource (IEnumerable< ResourceType > resourceTypes) |
|
bool | HasAnyResource (IEnumerable< ResourceQuantity > resourceQuantities) |
|
bool | FillResource (ResourceType resourceType, Object source) |
|
bool | AddResource (ResourceType resourceType, float value, Object source) |
|
bool | AddResource (ResourceQuantity resourceQuantity, Object source) |
|
bool | RemoveResource (ResourceType resourceType, float value, Object source) |
|
bool | RemoveResource (ResourceQuantity resourceQuantity, Object source) |
|
void | AddResources (IEnumerable< ResourceQuantity > resources, Object source) |
|
void | RemoveResources (IEnumerable< ResourceQuantity > resources, Object source) |
|
void | AddResources (IEnumerable< ResourceQuantity > resources) |
|
void | RemoveResources (IEnumerable< ResourceQuantity > resources) |
|
bool | FillResource (ResourceType resourceType) |
|
bool | AddResource (ResourceQuantity resourceQuantity) |
|
bool | RemoveResource (ResourceQuantity resourceQuantity) |
|
bool | ClearResource (ResourceType resourceType) |
|
float | GetValue (ResourceType resource) |
|
float | GetMaximum (ResourceType resource) |
|
float | GetRatio (ResourceType resource) |
|
virtual ResourceData | GetData () |
|
void | OnResourceChanged (ResourceValue resourceValue) |
|
void | Retrieve () |
|
void | Persist () |
|