Class: Overlook::Csgo::Demo::Packet
- Inherits:
-
Object
- Object
- Overlook::Csgo::Demo::Packet
- Defined in:
- lib/overlook/csgo/demo/packet.rb
Instance Attribute Summary collapse
-
#command_info ⇒ Object
Returns the value of attribute command_info.
-
#data ⇒ Object
Returns the value of attribute data.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Method Summary collapse
-
#initialize(size, data, command_info) ⇒ Packet
constructor
A new instance of Packet.
Constructor Details
#initialize(size, data, command_info) ⇒ Packet
Returns a new instance of Packet.
8 9 10 11 12 |
# File 'lib/overlook/csgo/demo/packet.rb', line 8 def initialize(size, data, command_info) @size = size @data = data @command_info = command_info end |
Instance Attribute Details
#command_info ⇒ Object
Returns the value of attribute command_info.
6 7 8 |
# File 'lib/overlook/csgo/demo/packet.rb', line 6 def command_info @command_info end |
#data ⇒ Object
Returns the value of attribute data.
6 7 8 |
# File 'lib/overlook/csgo/demo/packet.rb', line 6 def data @data end |
#size ⇒ Object
Returns the value of attribute size.
6 7 8 |
# File 'lib/overlook/csgo/demo/packet.rb', line 6 def size @size end |