Difference between revisions of "ResourceTemplate class"

From Catglobe Wiki
Jump to: navigation, search
 
Line 20: Line 20:
 
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|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>}}
 
}}
 
}}
 +
[[Category:ResourceTemplate]]

Latest revision as of 11:27, 8 July 2020

ResourceTemplate



Base class for all resource templates

Parent class

Inherits from object

Methods

  • Empty DefaultLanguage(string isocode "Iso code to set as default") - Which Localized Name is the default
  • Empty Save() - Save the ResourceTemplate resource
  • Empty SaveProperties() - Save the properties of the ResourceTemplate resource. Ignores changes to all constant options in use
  • (From object) string ToString() - The string representation of the object.

Properties

  • string LocalizedName { get; } - Localized Name for current user of the ResourceTemplate resource
  • Dictionary LocalizedNames { get; set; } - Localized Name of the ResourceTemplate resource
  • (From object) string ObjectTypeName { get; } - The name of the type of object.
  • array Properties { get; } - Get the list of current properties. Use AddProperty/RemoveProperty to edit order
  • int ResourceId { get; } - The Id of the ResourceTemplate
  • string ResourceName { get; } - Name of the ResourceTemplate resource
  • int ResourceTemplateType { get; } - The type of resource that this ResourceTemplate covers
  • bool ResourceTimeregEnabled { get; set; } - Get/set ResourceTimeregEnabled
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.