Difference between revisions of "ResourceBudget class"

From Catglobe Wiki
Jump to: navigation, search
 
Line 2: Line 2:
 
|Name=<nowiki>ResourceBudget</nowiki>
 
|Name=<nowiki>ResourceBudget</nowiki>
 
|Description=<nowiki>Represents the budget for a resource.</nowiki>
 
|Description=<nowiki>Represents the budget for a resource.</nowiki>
|Methods=
+
|InheritsFrom=object|Methods=
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}}
+
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}}
 
|Properties=
 
|Properties=
 
{{CGscriptProperties_Template|ReturnType=Dictionary|Name=<nowiki>LedgerEntries</nowiki>|HasGetter=1|Description=<nowiki>Gets the budget's ledger entries.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=Dictionary|Name=<nowiki>LedgerEntries</nowiki>|HasGetter=1|Description=<nowiki>Gets the budget's ledger entries.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>ResourceId</nowiki>|HasGetter=1|Description=<nowiki>Gets the resource id of the resource which the budget belongs to.</nowiki>}}
+
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>ResourceId</nowiki>|HasGetter=1|Description=<nowiki>Gets the resource id of the resource which the budget belongs to.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
+
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}}
 
}}
 
}}

Latest revision as of 09:20, 2 July 2020

ResourceBudget



Represents the budget for a resource.

Parent class

Inherits from object

Methods

  • (From object) string ToString() - The string representation of the object.

Properties

  • Dictionary LedgerEntries { get; } - Gets the budget's ledger entries.
  • string ObjectTypeName { get; } - The name of the type of object.
  • int ResourceId { get; } - Gets the resource id of the resource which the budget belongs to.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.