Class: LibSL::UpdateTaskInventoryPacket

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



6809
6810
6811
# File 'lib/_packets.rb', line 6809

def self.packet_id()
	4294902046
end

Instance Method Details

#build_structureObject



6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
# File 'lib/_packets.rb', line 6813

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