Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILanguage

Hierarchy

  • ILanguage

Implemented by

Index

Methods

addPluralRule

  • addPluralRule(from: string, to: string): void
  • Parameters

    • from: string
    • to: string

    Returns void

getDictionary

getName

  • getName(): string
  • Returns string

pluralize

  • pluralize(str: string): string
  • Parameters

    • str: string

    Returns string

removeDictionary

  • Parameters

    Returns void

setDictionaries

  • setDictionaries(dictionaries: object): void
  • Parameters

    • dictionaries: object
      • [index: number]: object
        • [index: number]: any

    Returns void

setDictionary

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • dictionary: Dictionary
    • newEntries: object
      • [index: number]: any

    Returns void

setDictionaryRaw

setEntry

  • setEntry(dictionary: Dictionary.Action, entryIndex: ActionType, name: string, description: string): void
  • setEntry(dictionary: Dictionary.Creature, entryIndex: CreatureType, prefix: string, name: string, description: string): void
  • setEntry(dictionary: Dictionary.Corpse, entryIndex: CreatureType, prefix: string, name: string): void
  • setEntry(dictionary: Dictionary.Doodad, entryIndex: DoodadType, prefix: string, name: string, description: string): void
  • setEntry(dictionary: Dictionary.Doodad, entryIndex: DoodadTypeGroup, name: string, description: string): void
  • setEntry(dictionary: Dictionary.Hint, entryIndex: HintType, name: string, description: string): void
  • setEntry(dictionary: Dictionary.Item, entryIndex: ItemType, prefix: string, name: string, description?: string): void
  • setEntry(dictionary: Dictionary.Item, entryIndex: ItemTypeGroup, name: string, description: string): void
  • setEntry(dictionary: Dictionary.Message, entryIndex: Message, name: string): void
  • setEntry(dictionary: Dictionary.Milestone, entryIndex: MilestoneType, name: string, description: string): void
  • setEntry(dictionary: Dictionary.OnEquip, entryIndex: OnEquipType, name: string): void
  • setEntry(dictionary: Dictionary.Skill, entryIndex: SkillType, name: string, description: string): void
  • setEntry(dictionary: Dictionary.Terrain, entryIndex: TerrainType, prefix: string, name: string): void
  • setEntry(dictionary: Dictionary.TileEvent, entryIndex: TileEventType, name: string, description: string): void
  • setEntry(dictionary: Dictionary.Ui, entryIndex: UiMessageStatic, name: string): void
  • setEntry(dictionary: Dictionary, entryIndex: number, ...entry: string[]): void
  • Parameters

    • dictionary: Dictionary.Action
    • entryIndex: ActionType
    • name: string
    • description: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Creature
    • entryIndex: CreatureType
    • prefix: string
    • name: string
    • description: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Corpse
    • entryIndex: CreatureType
    • prefix: string
    • name: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Doodad
    • entryIndex: DoodadType
    • prefix: string
    • name: string
    • description: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Doodad
    • entryIndex: DoodadTypeGroup
    • name: string
    • description: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Hint
    • entryIndex: HintType
    • name: string
    • description: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Item
    • entryIndex: ItemType
    • prefix: string
    • name: string
    • Optional description: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Item
    • entryIndex: ItemTypeGroup
    • name: string
    • description: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Message
    • entryIndex: Message
    • name: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Milestone
    • entryIndex: MilestoneType
    • name: string
    • description: string

    Returns void

  • Parameters

    • dictionary: Dictionary.OnEquip
    • entryIndex: OnEquipType
    • name: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Skill
    • entryIndex: SkillType
    • name: string
    • description: string

    Returns void

  • Parameters

    • dictionary: Dictionary.Terrain
    • entryIndex: TerrainType
    • prefix: string
    • name: string

    Returns void

  • Parameters

    • dictionary: Dictionary.TileEvent
    • entryIndex: TileEventType
    • name: string
    • description: string

    Returns void

  • Parameters

    Returns void

  • Parameters

    • dictionary: Dictionary
    • entryIndex: number
    • Rest ...entry: string[]

    Returns void

shouldPluralize

  • shouldPluralize(): boolean
  • Returns boolean

shouldUseAlternateFontStyle

  • shouldUseAlternateFontStyle(): boolean
  • Returns boolean

Generated using TypeDoc