S2APacketParticles
Represents a packet that is sent when particles need to be spawned
Extends
Methods
getPacketID()
getPacketID():
string
Get the ID of the packet.
Returns
string
The ID of the packet.
Inherited from
getParticleArgs()
getParticleArgs():
number[]
Gets additional arguments for particle effects
Returns
number[]
Array of particle arguments
getParticleSpeed()
getParticleSpeed():
number
Gets the speed of the particles
Returns
number
The particle speed
getXCoordinate()
getXCoordinate():
number
Gets the X coordinate where the particles spawn
Returns
number
The X coordinate
getXOffset()
getXOffset():
number
Gets the X offset for particle randomization
Returns
number
The X offset
getYCoordinate()
getYCoordinate():
number
Gets the Y coordinate where the particles spawn
Returns
number
The Y coordinate
getYOffset()
getYOffset():
number
Gets the Y offset for particle randomization
Returns
number
The Y offset
getZCoordinate()
getZCoordinate():
number
Gets the Z coordinate where the particles spawn
Returns
number
The Z coordinate
getZOffset()
getZOffset():
number
Gets the Z offset for particle randomization
Returns
number
The Z offset
isLongDistance()
isLongDistance():
boolean
Checks if the particle effect is rendered from a long distance
Returns
boolean
true if long distance, false otherwise
Last updated