Class: LibSL::ParcelPropertiesUpdatePacket

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



4825
4826
4827
# File 'lib/_packets.rb', line 4825

def self.packet_id()
	4294901958
end

Instance Method Details

#build_structureObject



4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
# File 'lib/_packets.rb', line 4829

def build_structure()
	@blocks = [
		[:AgentData, Block.new([
			[:AgentID, :LLUUID],
			[:SessionID, :LLUUID]
		])],
		[:ParcelData, Block.new([
			[:LocalID, :LLS32],
			[:Flags, :LLU32],
			[:ParcelFlags, :LLU32],
			[:SalePrice, :LLS32],
			[:Name, :LLVariable1],
			[:Desc, :LLVariable1],
			[:MusicURL, :LLVariable1],
			[:MediaURL, :LLVariable1],
			[:MediaID, :LLUUID],
			[:MediaAutoScale, :LLU8],
			[:GroupID, :LLUUID],
			[:PassPrice, :LLS32],
			[:PassHours, :LLF32],
			[:Category, :LLU8],
			[:AuthBuyerID, :LLUUID],
			[:SnapshotID, :LLUUID],
			[:UserLocation, :LLVector3],
			[:UserLookAt, :LLVector3],
			[:LandingType, :LLU8]
		])]
	]
end