Class: LibSL::ClassifiedInfoReplyPacket

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



990
991
992
# File 'lib/_packets.rb', line 990

def self.packet_id()
	4294901804
end

Instance Method Details

#build_structureObject



994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
# File 'lib/_packets.rb', line 994

def build_structure()
	@blocks = [
		[:AgentData, Block.new([
			[:AgentID, :LLUUID]
		])],
		[:Data, Block.new([
			[:ClassifiedID, :LLUUID],
			[:CreatorID, :LLUUID],
			[:CreationDate, :LLU32],
			[:ExpirationDate, :LLU32],
			[:Category, :LLU32],
			[:Name, :LLVariable1],
			[:Desc, :LLVariable2],
			[:ParcelID, :LLUUID],
			[:ParentEstate, :LLU32],
			[:SnapshotID, :LLUUID],
			[:SimName, :LLVariable1],
			[:PosGlobal, :LLVector3d],
			[:ParcelName, :LLVariable1],
			[:ClassifiedFlags, :LLU8],
			[:PriceForListing, :LLS32]
		])]
	]
end