Class: LibSL::ScriptSensorRequestPacket

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



5918
5919
5920
# File 'lib/_packets.rb', line 5918

def self.packet_id()
  4294902007
end

Instance Method Details

#build_structureObject



5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
# File 'lib/_packets.rb', line 5922

def build_structure()
  @blocks = [
    [:Requester, Block.new([
      [:SourceID, :LLUUID],
      [:RequestID, :LLUUID],
      [:SearchID, :LLUUID],
      [:SearchPos, :LLVector3],
      [:SearchDir, :LLQuaternion],
      [:SearchName, :LLVariable1],
      [:Type, :LLS32],
      [:Range, :LLF32],
      [:Arc, :LLF32],
      [:RegionHandle, :LLU64],
      [:SearchRegions, :LLU8]
    ])]
  ]
end