Class: LibSL::ChildAgentUpdatePacket

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



5683
5684
5685
# File 'lib/_packets.rb', line 5683

def self.packet_id()
	25
end

Instance Method Details

#build_structureObject



5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
# File 'lib/_packets.rb', line 5687

def build_structure()
	@blocks = [
		[:AgentData, Block.new([
			[:RegionHandle, :LLU64],
			[:ViewerCircuitCode, :LLU32],
			[:AgentID, :LLUUID],
			[:SessionID, :LLUUID],
			[:AgentPos, :LLVector3],
			[:AgentVel, :LLVector3],
			[:Center, :LLVector3],
			[:Size, :LLVector3],
			[:AtAxis, :LLVector3],
			[:LeftAxis, :LLVector3],
			[:UpAxis, :LLVector3],
			[:ChangedGrid, :LLBool],
			[:Far, :LLF32],
			[:Aspect, :LLF32],
			[:Throttles, :LLVariable1],
			[:LocomotionState, :LLU32],
			[:HeadRotation, :LLQuaternion],
			[:BodyRotation, :LLQuaternion],
			[:ControlFlags, :LLU32],
			[:EnergyLevel, :LLF32],
			[:GodLevel, :LLU8],
			[:AlwaysRun, :LLBool],
			[:PreyAgent, :LLUUID],
			[:AgentAccess, :LLU8],
			[:AgentTextures, :LLVariable2],
			[:ActiveGroupID, :LLUUID]
		])],
		[:GroupData, VariableBlockCollection.new([
			[:GroupID, :LLUUID],
			[:GroupPowers, :LLU64],
			[:AcceptNotices, :LLBool]
		])],
		[:AnimationData, VariableBlockCollection.new([
			[:Animation, :LLUUID],
			[:ObjectID, :LLUUID]
		])],
		[:GranterBlock, VariableBlockCollection.new([
			[:GranterID, :LLUUID]
		])],
		[:NVPairData, VariableBlockCollection.new([
			[:NVPairs, :LLVariable2]
		])],
		[:VisualParam, VariableBlockCollection.new([
			[:ParamValue, :LLU8]
		])],
		[:AgentAccess, VariableBlockCollection.new([
			[:AgentLegacyAccess, :LLU8],
			[:AgentMaxAccess, :LLU8]
		])],
		[:AgentInfo, VariableBlockCollection.new([
			[:Flags, :LLU32]
		])]
	]
end