Class: LibSL::UpdateInventoryItemPacket

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



6309
6310
6311
# File 'lib/_packets.rb', line 6309

def self.packet_id()
	4294902026
end

Instance Method Details

#build_structureObject



6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
# File 'lib/_packets.rb', line 6313

def build_structure()
	@blocks = [
		[:AgentData, Block.new([
			[:AgentID, :LLUUID],
			[:SessionID, :LLUUID],
			[:TransactionID, :LLUUID]
		])],
		[:InventoryData, VariableBlockCollection.new([
			[:ItemID, :LLUUID],
			[:FolderID, :LLUUID],
			[:CallbackID, :LLU32],
			[: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