Class: LibSL::RezObjectFromNotecardPacket

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



7018
7019
7020
# File 'lib/_packets.rb', line 7018

def self.packet_id()
	4294902054
end

Instance Method Details

#build_structureObject



7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
# File 'lib/_packets.rb', line 7022

def build_structure()
	@blocks = [
		[:AgentData, Block.new([
			[:AgentID, :LLUUID],
			[:SessionID, :LLUUID],
			[:GroupID, :LLUUID]
		])],
		[:RezData, Block.new([
			[:FromTaskID, :LLUUID],
			[:BypassRaycast, :LLU8],
			[:RayStart, :LLVector3],
			[:RayEnd, :LLVector3],
			[:RayTargetID, :LLUUID],
			[:RayEndIsIntersection, :LLBool],
			[:RezSelected, :LLBool],
			[:RemoveItem, :LLBool],
			[:ItemFlags, :LLU32],
			[:GroupMask, :LLU32],
			[:EveryoneMask, :LLU32],
			[:NextOwnerMask, :LLU32]
		])],
		[:NotecardData, Block.new([
			[:NotecardItemID, :LLUUID],
			[:ObjectID, :LLUUID]
		])],
		[:InventoryData, VariableBlockCollection.new([
			[:ItemID, :LLUUID]
		])]
	]
end