Class: LibSL::ScriptSensorReplyPacket

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



5942
5943
5944
# File 'lib/_packets.rb', line 5942

def self.packet_id()
	4294902008
end

Instance Method Details

#build_structureObject



5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
# File 'lib/_packets.rb', line 5946

def build_structure()
	@blocks = [
		[:Requester, Block.new([
			[:SourceID, :LLUUID]
		])],
		[:SensedData, VariableBlockCollection.new([
			[:ObjectID, :LLUUID],
			[:OwnerID, :LLUUID],
			[:GroupID, :LLUUID],
			[:Position, :LLVector3],
			[:Velocity, :LLVector3],
			[:Rotation, :LLQuaternion],
			[:Name, :LLVariable1],
			[:Type, :LLS32],
			[:Range, :LLF32]
		])]
	]
end