Resource Sink
Parent |
The resource sink, also known a A.W.E.S.O.M.E Sink. Points are saved in multiple different tracks. * 0 = Default (Ressources) * 1 = Exploration (DNA Points)
Properties
Functions
getCouponProgress (track : Int) → progress : Float
Get the percentage of the progress for the next coupon for the given track.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Coupon Progress |
| Name | Type | Description |
|---|---|---|
Track |
Int |
The track you want to get the number of points till the next coupon. |
| Name | Type | Description |
|---|---|---|
Progress |
Float |
The percentage of the progress for the next coupon for the given track. |
getNumPoints (track : Int) → numPoints : Int
Get the number of available points for a given track.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Num Points |
| Name | Type | Description |
|---|---|---|
Track |
Int |
The track you want to get the number of points for. |
| Name | Type | Description |
|---|---|---|
Num Points |
Int |
The number of points for the given track. |
getNumPointsToNextCoupon (track : Int) → numPoints : Int
Get the number of needed points for the next coupon for a given track.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Num Points To Next Coupon |
| Name | Type | Description |
|---|---|---|
Track |
Int |
The track you want to get the number of points till the next coupon. |
| Name | Type | Description |
|---|---|---|
Num Points |
Int |
The number of points needed for the next coupon for the given track. |