Class: LibSL::RoutedMoneyBalanceReplyPacket

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



7474
7475
7476
# File 'lib/_packets.rb', line 7474

def self.packet_id()
	4294902075
end

Instance Method Details

#build_structureObject



7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
# File 'lib/_packets.rb', line 7478

def build_structure()
	@blocks = [
		[:TargetBlock, Block.new([
			[:TargetIP, :LLIPAddress],
			[:TargetPort, :LLIPPort]
		])],
		[:MoneyData, Block.new([
			[:AgentID, :LLUUID],
			[:TransactionID, :LLUUID],
			[:TransactionSuccess, :LLBool],
			[:MoneyBalance, :LLS32],
			[:SquareMetersCredit, :LLS32],
			[:SquareMetersCommitted, :LLS32],
			[:Description, :LLVariable1]
		])],
		[:TransactionInfo, Block.new([
			[:TransactionType, :LLS32],
			[:SourceID, :LLUUID],
			[:IsSourceGroup, :LLBool],
			[:DestID, :LLUUID],
			[:IsDestGroup, :LLBool],
			[:Amount, :LLS32],
			[:ItemDescription, :LLVariable1]
		])]
	]
end