Class: LibSL::AvatarAnimationPacket

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



3824
3825
3826
# File 'lib/_packets.rb', line 3824

def self.packet_id()
  20
end

Instance Method Details

#build_structureObject



3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
# File 'lib/_packets.rb', line 3828

def build_structure()
  @blocks = [
    [:Sender, Block.new([
      [:ID, :LLUUID]
    ])],
    [:AnimationList, VariableBlockCollection.new([
      [:AnimID, :LLUUID],
      [:AnimSequenceID, :LLS32]
    ])],
    [:AnimationSourceList, VariableBlockCollection.new([
      [:ObjectID, :LLUUID]
    ])],
    [:PhysicalAvatarEventList, VariableBlockCollection.new([
      [:TypeData, :LLVariable1]
    ])]
  ]
end