Class meta files

Meta Files    
class-meta-filename = !Class.sk-meta
class-meta-file = ws {meta-name ‘:’ ws value ws}
meta-name = demand_load

Each SkookumScript class can have a !Class.sk-meta file that specifies various settings and properties for the class. A class meta file is located in the same directory (folder) that represents the class.

Meta Name   Possible Values
demand_load = true | false

Here is a further detailing of the values and what they mean for the class:

  • demand_load:
    • true – This class is “demand loaded” and any subclasses are saved in a separate compiled runtime structures binary that can be loaded and unloaded as needed. By default the class is not loaded at SkookumScript initialization. This is generally to ensure that info for a class and its subclasses do not take up memory when they are not needed. This can also be used for code that you want to compile though you aren’t using it yet, etc.
      For more information see Demand Script Loading.
    • false – This class is “static loaded” so it is loaded at SkookumScript initialization and always available.