Class: LibSL::FetchInventoryReplyPacket

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



6655
6656
6657
# File 'lib/_packets.rb', line 6655

def self.packet_id()
	4294902040
end

Instance Method Details

#build_structureObject



6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
# File 'lib/_packets.rb', line 6659

def build_structure()
	@blocks = [
		[:AgentData, Block.new([
			[:AgentID, :LLUUID]
		])],
		[:InventoryData, VariableBlockCollection.new([
			[:ItemID, :LLUUID],
			[:FolderID, :LLUUID],
			[:CreatorID, :LLUUID],
			[:OwnerID, :LLUUID],
			[:GroupID, :LLUUID],
			[:BaseMask, :LLU32],
			[:OwnerMask, :LLU32],
			[:GroupMask, :LLU32],
			[:EveryoneMask, :LLU32],
			[:NextOwnerMask, :LLU32],
			[:GroupOwned, :LLBool],
			[:AssetID, :LLUUID],
			[:Type, :LLS8],
			[:InvType, :LLS8],
			[:Flags, :LLU32],
			[:SaleType, :LLU8],
			[:SalePrice, :LLS32],
			[:Name, :LLVariable1],
			[:Description, :LLVariable1],
			[:CreationDate, :LLS32],
			[:CRC, :LLU32]
		])]
	]
end