Class: VaultCoh::Map

Inherits:
Object
  • Object
show all
Defined in:
lib/vault_coh/map.rb

Overview

Representation of all map-related information that can be parsed from a Company of Heroes 3 replay.

Instance Method Summary collapse

Instance Method Details

#filenameString

This is a “filename” in the sense that its structure resembles one, but it doesn’t actually point to any file on the file system. The final “token” in this string (if you split by slash) generally corresponds to the map name returned by the CoH3 stats API. The string is UTF-8 encoded.

Returns:

  • (String)


14
# File 'lib/vault_coh/map.rb', line 14

def filename; end

#localized_description_idString

Entity ID that corresponds to a localization string that represents the localized description of the map. Conventionally these IDs do not change between patches, but that isn’t guaranteed. The string is UTF-16 encoded.

Returns:

  • (String)


30
# File 'lib/vault_coh/map.rb', line 30

def localized_description_id; end

#localized_name_idString

Entity ID that corresponds to a localization string that represents the localized name of the map. Conventionally these IDs do not change between patches, but that isn’t guaranteed. The string is UTF-16 encoded.

Returns:

  • (String)


22
# File 'lib/vault_coh/map.rb', line 22

def localized_name_id; end

#to_hHash

Returns a hash representation of the object.

Returns:

  • (Hash)


35
# File 'lib/vault_coh/map.rb', line 35

def to_h; end