Scriptable Parser for Portal 2 Demos
    Preparing search index...

    Class InstanceBaseline

    Defines default property values (baselines) for an entity class. Can only be parsed after DataTables have been received, as this table doesn't define any structure on its own, only values, and only by referring to previously sent classes through an index.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    tableName: string

    Name of the string table that this entry belongs to.

    entryName: string

    Name of this entry.

    serverClass?: ServerClass

    Entity class for which this table is defining baselines.

    entityProperties?: EntityProperty[]

    List of entity properties parsed from this table.

    Methods

    • Parses a string table property from the given demo.

      Parameters

      • tableName: string

        Name of the string table that this entry belongs to.

      • entryName: string

        Name of this entry.

      • demo: Demo

        Demo from which to parse.

      • Optionalcompression: number | null

        Compression details, currently unused.

      Returns StringTableEntry

      A string table entry variant as derived from the table's name.