Class: LibSL::RezSingleAttachmentFromInvPacket

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



9189
9190
9191
# File 'lib/_packets.rb', line 9189

def self.packet_id()
	4294902155
end

Instance Method Details

#build_structureObject



9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
# File 'lib/_packets.rb', line 9193

def build_structure()
	@blocks = [
		[:AgentData, Block.new([
			[:AgentID, :LLUUID],
			[:SessionID, :LLUUID]
		])],
		[:ObjectData, Block.new([
			[:ItemID, :LLUUID],
			[:OwnerID, :LLUUID],
			[:AttachmentPt, :LLU8],
			[:ItemFlags, :LLU32],
			[:GroupMask, :LLU32],
			[:EveryoneMask, :LLU32],
			[:NextOwnerMask, :LLU32],
			[:Name, :LLVariable1],
			[:Description, :LLVariable1]
		])]
	]
end