Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StatusParser

A static class used to parse entity data into PlayerData objects.

Hierarchy

  • StatusParser

Index

Methods

Static parseObject

  • parseObject(data: ObjectData): PlayerData
  • Processes the data and returns the resulting PlayerData object.

    Parameters

    • data: ObjectData

      The data to process.

    Returns PlayerData

Static processObjectStatus

  • processObjectStatus(data: ObjectStatusData, currentData?: PlayerData): PlayerData
  • Processes the data and returns the result. If currentData is provided, it will be used as a starting point for the returned PlayerData.

    Parameters

    • data: ObjectStatusData

      The data to process.

    • Optional currentData: PlayerData

      The existing PlayerData.

    Returns PlayerData

Static processStatData

  • processStatData(stats: StatData[], currentData?: PlayerData): PlayerData
  • Process a list of stats and returns the result. If currentData is provided, it will be used as a starting point for the returned PlayerData.

    Parameters

    • stats: StatData[]

      The stats to process.

    • Optional currentData: PlayerData

      The existing PlayerData.

    Returns PlayerData

Generated using TypeDoc