Class: VaultCoh::Map
- Inherits:
-
Object
- Object
- VaultCoh::Map
- 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
-
#filename ⇒ String
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.
-
#localized_description_id ⇒ String
Entity ID that corresponds to a localization string that represents the localized description of the map.
-
#localized_name_id ⇒ String
Entity ID that corresponds to a localization string that represents the localized name of the map.
-
#to_h ⇒ Hash
Returns a hash representation of the object.
Instance Method Details
#filename ⇒ String
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.
14 |
# File 'lib/vault_coh/map.rb', line 14 def filename; end |
#localized_description_id ⇒ String
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.
30 |
# File 'lib/vault_coh/map.rb', line 30 def localized_description_id; end |
#localized_name_id ⇒ String
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.
22 |
# File 'lib/vault_coh/map.rb', line 22 def localized_name_id; end |
#to_h ⇒ Hash
Returns a hash representation of the object.
35 |
# File 'lib/vault_coh/map.rb', line 35 def to_h; end |