Component:FundingStatistics: Difference between revisions

From Resonite Wiki
Automated: update Fields
add info
 
Line 3: Line 3:
|Name=Funding Statistics
|Name=Funding Statistics
}}
}}
The '''Funding Statistics''' component
The '''Funding Statistics''' component is used to get the different funding values for Resonite in United States Dollars from supporters.
{{stub}}


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Timestamp|DateTime|
|Timestamp|DateTime| The last time the values were updated as a time stamp.
|Aggregate|{{RootFieldType|(nested)|[[#ServiceStats|FundingStatistics.ServiceStats]]}}|TypeAdv1=true|
|Aggregate|{{RootFieldType|(nested)|[[#ServiceStats|FundingStatistics.ServiceStats]]}}|TypeAdv1=true| The combination of all support channels.
|Patreon|{{RootFieldType|(nested)|[[#ServiceStats|FundingStatistics.ServiceStats]]}}|TypeAdv2=true|
|Patreon|{{RootFieldType|(nested)|[[#ServiceStats|FundingStatistics.ServiceStats]]}}|TypeAdv2=true| The Monetary support from Patreon members.
|Stripe|{{RootFieldType|(nested)|[[#ServiceStats|FundingStatistics.ServiceStats]]}}|TypeAdv3=true|
|Stripe|{{RootFieldType|(nested)|[[#ServiceStats|FundingStatistics.ServiceStats]]}}|TypeAdv3=true| The Monetary support from Stripe members.
}}
 
== ServiceStats ==
{{Table TypeFields
|Current|{{RootFieldType|(nested)|[[#FundingStats|FundingStatistics.FundingStats]]}}|TypeAdv0=true| The current money being supported via this medium.
|Historical|{{RootFieldType|(nested)|[[#FundingStats|FundingStatistics.FundingStats]]}}|TypeAdv1=true| The historical money that was given via this medium.
}}
 
== FundingStats ==
{{Table TypeFields
|TotalAmountUSD|decimal| Total amount of money via this medium.
|AverageAmountUSD|decimal| Average amount of money via this medium.
|TotalUniqueSupporters|int| The total unique supporters that are supporting Resonite via this medium.
}}
}}


Line 23: Line 35:
[[Category:Components{{#translation:}}|Funding Statistics]]
[[Category:Components{{#translation:}}|Funding Statistics]]
[[Category:Components With Nested Types{{#translation:}}|Funding Statistics]]
[[Category:Components With Nested Types{{#translation:}}|Funding Statistics]]
[[Category:ComponentStubs]]

Latest revision as of 20:58, 19 March 2025

Component image 
Funding Statistics component as seen in the Scene Inspector

The Funding Statistics component is used to get the different funding values for Resonite in United States Dollars from supporters.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Timestamp DateTime The last time the values were updated as a time stamp.
Aggregate direct FundingStatistics.ServiceStats The combination of all support channels.
Patreon direct FundingStatistics.ServiceStats The Monetary support from Patreon members.
Stripe direct FundingStatistics.ServiceStats The Monetary support from Stripe members.

ServiceStats

Fields
Name Type Description
Current direct FundingStatistics.FundingStats The current money being supported via this medium.
Historical direct FundingStatistics.FundingStats The historical money that was given via this medium.

FundingStats

Fields
Name Type Description
TotalAmountUSD decimal Total amount of money via this medium.
AverageAmountUSD decimal Average amount of money via this medium.
TotalUniqueSupporters int The total unique supporters that are supporting Resonite via this medium.

Usage

Examples

See Also