Class: LibSL::CoarseLocationUpdatePacket
- 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_id ⇒ Object
3386 3387 3388 |
# File 'lib/_packets.rb', line 3386 def self.packet_id() 65286 end |
Instance Method Details
#build_structure ⇒ Object
3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 |
# File 'lib/_packets.rb', line 3390 def build_structure() @blocks = [ [:Location, VariableBlockCollection.new([ [:X, :LLU8], [:Y, :LLU8], [:Z, :LLU8] ])], [:Index, Block.new([ [:You, :LLS16], [:Prey, :LLS16] ])], [:AgentData, VariableBlockCollection.new([ [:AgentID, :LLUUID] ])] ] end |