Class: LibSL::ObjectPropertiesPacket

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



3937
3938
3939
# File 'lib/_packets.rb', line 3937

def self.packet_id()
	65289
end

Instance Method Details

#build_structureObject



3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
# File 'lib/_packets.rb', line 3941

def build_structure()
	@blocks = [
		[:ObjectData, VariableBlockCollection.new([
			[:ObjectID, :LLUUID],
			[:CreatorID, :LLUUID],
			[:OwnerID, :LLUUID],
			[:GroupID, :LLUUID],
			[:CreationDate, :LLU64],
			[:BaseMask, :LLU32],
			[:OwnerMask, :LLU32],
			[:GroupMask, :LLU32],
			[:EveryoneMask, :LLU32],
			[:NextOwnerMask, :LLU32],
			[:OwnershipCost, :LLS32],
			[:SaleType, :LLU8],
			[:SalePrice, :LLS32],
			[:AggregatePerms, :LLU8],
			[:AggregatePermTextures, :LLU8],
			[:AggregatePermTexturesOwner, :LLU8],
			[:Category, :LLU32],
			[:InventorySerial, :LLS16],
			[:ItemID, :LLUUID],
			[:FolderID, :LLUUID],
			[:FromTaskID, :LLUUID],
			[:LastOwnerID, :LLUUID],
			[:Name, :LLVariable1],
			[:Description, :LLVariable1],
			[:TouchName, :LLVariable1],
			[:SitName, :LLVariable1],
			[:TextureID, :LLVariable1]
		])]
	]
end