Class: LibSL::SimStatsPacket
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
3161 3162 3163 |
# File 'lib/_packets.rb', line 3161 def self.packet_id() 4294901900 end |
Instance Method Details
#build_structure ⇒ Object
3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 |
# File 'lib/_packets.rb', line 3165 def build_structure() @blocks = [ [:Region, Block.new([ [:RegionX, :LLU32], [:RegionY, :LLU32], [:RegionFlags, :LLU32], [:ObjectCapacity, :LLU32] ])], [:Stat, VariableBlockCollection.new([ [:StatID, :LLU32], [:StatValue, :LLF32] ])], [:PidStat, Block.new([ [:PID, :LLS32] ])] ] end |