| 
    Planeshift
    
   | 
 
This class keeps natural resource concentrations across the world. More...
#include <workmanager.h>
Public Attributes | |
| size_t | action | 
| The action you need to take to get this resource. < Id Corresponding to resourcesActions index.  More... | |
| csString | anim | 
| Name of animation to play while harvesting.  More... | |
| int | anim_duration_seconds | 
| Length of time the animation should play.  More... | |
| unsigned int | item_cat_id | 
| Category of tool needed for the ressource.  More... | |
| float | item_quality | 
| Quality of equipment for the ressource.  More... | |
| csVector3 | loc | 
| Centre point of resource location.  More... | |
| float | probability | 
| Probability of finding resource on attempt.  More... | |
| float | radius | 
| Radius around the centre where resource can be found.  More... | |
| int | reward | 
| Item ID of the reward.  More... | |
| csString | reward_nickname | 
| Item name of the reward.  More... | |
| int | sector | 
| The id of the sector this resource is in.  More... | |
| psSkillInfo * | skill | 
| Skill used to harvest resource.  More... | |
| int | skill_level | 
| Skill level required to be able to harvest resource.  More... | |
| float | visible_radius | 
| Radius around the centre where resource is visible.  More... | |
This class keeps natural resource concentrations across the world.
Definition at line 102 of file workmanager.h.
| size_t NaturalResource::action | 
The action you need to take to get this resource. < Id Corresponding to resourcesActions index.
Definition at line 117 of file workmanager.h.
| csString NaturalResource::anim | 
Name of animation to play while harvesting.
Definition at line 113 of file workmanager.h.
| int NaturalResource::anim_duration_seconds | 
Length of time the animation should play.
Definition at line 114 of file workmanager.h.
Category of tool needed for the ressource.
Definition at line 111 of file workmanager.h.
| float NaturalResource::item_quality | 
Quality of equipment for the ressource.
Definition at line 112 of file workmanager.h.
| csVector3 NaturalResource::loc | 
Centre point of resource location.
Definition at line 105 of file workmanager.h.
| float NaturalResource::probability | 
Probability of finding resource on attempt.
Definition at line 108 of file workmanager.h.
| float NaturalResource::radius | 
Radius around the centre where resource can be found.
Definition at line 106 of file workmanager.h.
| int NaturalResource::reward | 
Item ID of the reward.
Definition at line 115 of file workmanager.h.
| csString NaturalResource::reward_nickname | 
Item name of the reward.
Definition at line 116 of file workmanager.h.
| int NaturalResource::sector | 
The id of the sector this resource is in.
Definition at line 104 of file workmanager.h.
| psSkillInfo* NaturalResource::skill | 
Skill used to harvest resource.
Definition at line 109 of file workmanager.h.
| int NaturalResource::skill_level | 
Skill level required to be able to harvest resource.
Definition at line 110 of file workmanager.h.
| float NaturalResource::visible_radius | 
Radius around the centre where resource is visible.
Definition at line 107 of file workmanager.h.