Class: LibSL::ObjectAddPacket
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_id ⇒ Object
1976 1977 1978 |
# File 'lib/_packets.rb', line 1976 def self.packet_id() 65281 end |
Instance Method Details
#build_structure ⇒ Object
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 |
# File 'lib/_packets.rb', line 1980 def build_structure() @blocks = [ [:AgentData, Block.new([ [:AgentID, :LLUUID], [:SessionID, :LLUUID], [:GroupID, :LLUUID] ])], [:ObjectData, Block.new([ [:PCode, :LLU8], [:Material, :LLU8], [:AddFlags, :LLU32], [:PathCurve, :LLU8], [:ProfileCurve, :LLU8], [:PathBegin, :LLU16], [:PathEnd, :LLU16], [:PathScaleX, :LLU8], [:PathScaleY, :LLU8], [:PathShearX, :LLU8], [:PathShearY, :LLU8], [:PathTwist, :LLS8], [:PathTwistBegin, :LLS8], [:PathRadiusOffset, :LLS8], [:PathTaperX, :LLS8], [:PathTaperY, :LLS8], [:PathRevolutions, :LLU8], [:PathSkew, :LLS8], [:ProfileBegin, :LLU16], [:ProfileEnd, :LLU16], [:ProfileHollow, :LLU16], [:BypassRaycast, :LLU8], [:RayStart, :LLVector3], [:RayEnd, :LLVector3], [:RayTargetID, :LLUUID], [:RayEndIsIntersection, :LLU8], [:Scale, :LLVector3], [:Rotation, :LLQuaternion], [:State, :LLU8] ])] ] end |