Class: LibSL::UpdateParcelPacket

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



5323
5324
5325
# File 'lib/_packets.rb', line 5323

def self.packet_id()
	4294901981
end

Instance Method Details

#build_structureObject



5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
# File 'lib/_packets.rb', line 5327

def build_structure()
	@blocks = [
		[:ParcelData, Block.new([
			[:ParcelID, :LLUUID],
			[:RegionHandle, :LLU64],
			[:OwnerID, :LLUUID],
			[:GroupOwned, :LLBool],
			[:Status, :LLU8],
			[:Name, :LLVariable1],
			[:Description, :LLVariable1],
			[:MusicURL, :LLVariable1],
			[:RegionX, :LLF32],
			[:RegionY, :LLF32],
			[:ActualArea, :LLS32],
			[:BillableArea, :LLS32],
			[:ShowDir, :LLBool],
			[:IsForSale, :LLBool],
			[:Category, :LLU8],
			[:SnapshotID, :LLUUID],
			[:UserLocation, :LLVector3],
			[:SalePrice, :LLS32],
			[:AuthorizedBuyerID, :LLUUID],
			[:AllowPublish, :LLBool],
			[:MaturePublish, :LLBool]
		])]
	]
end