Class: LibSL::TestMessagePacket
Instance Attribute Summary
Attributes inherited from Packet
#acks, #acks_flag, #reliable_flag, #resent_count, #resent_flag, #sequence_number, #zero_coded_flag
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Packet
decode, #decode_msg, #encode, #encode_msg, #initialize, #method_missing, zero_decode
Constructor Details
This class inherits a constructor from LibSL::Packet
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class LibSL::Packet
Class Method Details
.packet_id ⇒ Object
3 4 5 |
# File 'lib/_packets.rb', line 3 def self.packet_id() 4294901761 end |
Instance Method Details
#build_structure ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/_packets.rb', line 7 def build_structure() @blocks = [ [:TestBlock1, Block.new([ [:Test1, :LLU32] ])], [:NeighborBlock, FixedBlockCollection.new(4, [ [:Test0, :LLU32], [:Test1, :LLU32], [:Test2, :LLU32] ])] ] end |