/** * @module core/parsers */ import { PlayerData } from '../../common'; import { ObjectData, ObjectStatusData, StatData } from '../../net'; /** * A static class used to parse entity data into `PlayerData` objects. */ export declare class StatusParser { /** * Processes the `data` and returns the resulting `PlayerData` object. * @param data The data to process. */ static parseObject(data: ObjectData): PlayerData; /** * Processes the `data` and returns the result. If `currentData` is provided, it will be * used as a starting point for the returned `PlayerData`. * @param data The data to process. * @param currentData The existing `PlayerData`. */ static processObjectStatus(data: ObjectStatusData, 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`. * @param stats The stats to process. * @param currentData The existing `PlayerData`. */ static processStatData(stats: StatData[], currentData?: PlayerData): PlayerData; }