Class: LibSL::LogParcelChangesPacket

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



5388
5389
5390
# File 'lib/_packets.rb', line 5388

def self.packet_id()
  4294901984
end

Instance Method Details

#build_structureObject



5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
# File 'lib/_packets.rb', line 5392

def build_structure()
  @blocks = [
    [:AgentData, Block.new([
      [:AgentID, :LLUUID]
    ])],
    [:RegionData, Block.new([
      [:RegionHandle, :LLU64]
    ])],
    [:ParcelData, VariableBlockCollection.new([
      [:ParcelID, :LLUUID],
      [:OwnerID, :LLUUID],
      [:IsOwnerGroup, :LLBool],
      [:ActualArea, :LLS32],
      [:Action, :LLS8],
      [:TransactionID, :LLUUID]
    ])]
  ]
end