Class: LibSL::ScriptDialogPacket

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



4586
4587
4588
# File 'lib/_packets.rb', line 4586

def self.packet_id()
	4294901950
end

Instance Method Details

#build_structureObject



4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
# File 'lib/_packets.rb', line 4590

def build_structure()
	@blocks = [
		[:Data, Block.new([
			[:ObjectID, :LLUUID],
			[:FirstName, :LLVariable1],
			[:LastName, :LLVariable1],
			[:ObjectName, :LLVariable1],
			[:Message, :LLVariable2],
			[:ChatChannel, :LLS32],
			[:ImageID, :LLUUID]
		])],
		[:Buttons, VariableBlockCollection.new([
			[:ButtonLabel, :LLVariable1]
		])],
		[:OwnerData, VariableBlockCollection.new([
			[:OwnerID, :LLUUID]
		])]
	]
end