Options
All
  • Public
  • Public/Protected
  • All
Menu

External module core/parsers

Index

Variables

Const CHAR_INFO_REGEX

CHAR_INFO_REGEX: RegExp = /<Chars nextCharId="(\d+)" maxNumChars="(\d+)"/

Const CHAR_REGEX

CHAR_REGEX: RegExp = /<Char id="(\d+)"><ObjectType>(\d+)<\/ObjectType><Level>(\d+)<\/Level><Exp>(\d+)<\/Exp><CurrentFame>(\d+)<\/CurrentFame><Equipment>([0-9,-]+)<\/Equipment><MaxHitPoints>(\d+)<\/MaxHitPoints><HitPoints>(\d+)<\/HitPoints><MaxMagicPoints>(\d+)<\/MaxMagicPoints><MagicPoints>(\d+)<\/MagicPoints><Attack>(\d+)<\/Attack><Defense>(\d+)<\/Defense><Speed>(\d+)<\/Speed><Dexterity>(\d+)<\/Dexterity><HpRegen>(\d+)<\/HpRegen><MpRegen>(\d+)<\/MpRegen>/g

Const NAME_REGEX

NAME_REGEX: RegExp = /<Account><Name>([A-Za-z]+)<\/Name>/

Const SERVER_REGEX

SERVER_REGEX: RegExp = /<Name>([A-Za-z0-9]+)<\/Name><DNS>([0-9.]+)<\/DNS><Lat>([0-9.-]+)<\/Lat><Long>([0-9.-]+)<\/Long><Usage>([0-9.]+)<\/Usage>/g

Generated using TypeDoc