Class: LibSL::RezMultipleAttachmentsFromInvPacket

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



9215
9216
9217
# File 'lib/_packets.rb', line 9215

def self.packet_id()
  4294902156
end

Instance Method Details

#build_structureObject



9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
# File 'lib/_packets.rb', line 9219

def build_structure()
  @blocks = [
    [:AgentData, Block.new([
      [:AgentID, :LLUUID],
      [:SessionID, :LLUUID]
    ])],
    [:HeaderData, Block.new([
      [:CompoundMsgID, :LLUUID],
      [:TotalObjects, :LLU8],
      [:FirstDetachAll, :LLBool]
    ])],
    [:ObjectData, VariableBlockCollection.new([
      [:ItemID, :LLUUID],
      [:OwnerID, :LLUUID],
      [:AttachmentPt, :LLU8],
      [:ItemFlags, :LLU32],
      [:GroupMask, :LLU32],
      [:EveryoneMask, :LLU32],
      [:NextOwnerMask, :LLU32],
      [:Name, :LLVariable1],
      [:Description, :LLVariable1]
    ])]
  ]
end