Class: VaultCoh::Commands::BuildGlobalUpgrade
- Inherits:
-
Object
- Object
- VaultCoh::Commands::BuildGlobalUpgrade
- Defined in:
- lib/vault_coh/commands/build_global_upgrade.rb
Overview
Data object representing information parsed from an upgrade construction command.
Instance Method Summary collapse
-
#pbgid ⇒ Integer
Internal ID that uniquely identifies the upgrade being built.
-
#tick ⇒ Integer
This value is the tick at which the command was found while parsing the replay, which represents the time in the replay at which it was executed.
-
#to_h ⇒ Hash
Returns a hash representation of the object.
Instance Method Details
#pbgid ⇒ Integer
Internal ID that uniquely identifies the upgrade being built. This value can be matched to CoH3 attribute files in order to determine the upgrade being built. Note that, while rare, it is possible that this value may change between patches for the same upgrade.
26 |
# File 'lib/vault_coh/commands/build_global_upgrade.rb', line 26 def pbgid; end |
#tick ⇒ Integer
This value is the tick at which the command was found while parsing the replay, which represents the time in the replay at which it was executed. Because CoH3’s engine runs at 8 ticks per second, you can divide this value by 8 to get the number of seconds since the replay began, which will tell you when this command was executed.
17 |
# File 'lib/vault_coh/commands/build_global_upgrade.rb', line 17 def tick; end |
#to_h ⇒ Hash
Returns a hash representation of the object.
31 |
# File 'lib/vault_coh/commands/build_global_upgrade.rb', line 31 def to_h; end |