Class: LibSL::TransferInfoPacket

Inherits:
Packet
  • Object
show all
Defined in:
lib/_packets.rb

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_idObject



3704
3705
3706
# File 'lib/_packets.rb', line 3704

def self.packet_id()
	4294901914
end

Instance Method Details

#build_structureObject



3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
# File 'lib/_packets.rb', line 3708

def build_structure()
	@blocks = [
		[:TransferInfo, Block.new([
			[:TransferID, :LLUUID],
			[:ChannelType, :LLS32],
			[:TargetType, :LLS32],
			[:Status, :LLS32],
			[:Size, :LLS32],
			[:Params, :LLVariable2]
		])]
	]
end