Class: LibSL::AgentUpdatePacket
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_id ⇒ Object
1703 1704 1705 |
# File 'lib/_packets.rb', line 1703 def self.packet_id() 4 end |
Instance Method Details
#build_structure ⇒ Object
1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 |
# File 'lib/_packets.rb', line 1707 def build_structure() @blocks = [ [:AgentData, Block.new([ [:AgentID, :LLUUID], [:SessionID, :LLUUID], [:BodyRotation, :LLQuaternion], [:HeadRotation, :LLQuaternion], [:State, :LLU8], [:CameraCenter, :LLVector3], [:CameraAtAxis, :LLVector3], [:CameraLeftAxis, :LLVector3], [:CameraUpAxis, :LLVector3], [:Far, :LLF32], [:ControlFlags, :LLU32], [:Flags, :LLU8] ])] ] end |