Class ProjectilePacket
Class that represents a projectile packet.
Inheritance
System.Object
ProjectilePacket
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Communications.Packets.Outgoing
Assembly: Fibula.Communications.Packets.dll
Syntax
public class ProjectilePacket : IOutboundPacket
Constructors
| Improve this Doc View SourceProjectilePacket(Location, Location, ProjectileType)
Initializes a new instance of the ProjectilePacket class.
Declaration
public ProjectilePacket(Location fromLocation, Location toLocation, ProjectileType projectileType)
Parameters
Type | Name | Description |
---|---|---|
Location | fromLocation | The location from which the projectile is launched. |
Location | toLocation | The location to which the projectile impacts. |
ProjectileType | projectileType | The projectile type. |
Properties
| Improve this Doc View SourceEffect
Gets the actual projectile effect.
Declaration
public ProjectileType Effect { get; }
Property Value
Type | Description |
---|---|
ProjectileType |
FromLocation
Gets the location of origin.
Declaration
public Location FromLocation { get; }
Property Value
Type | Description |
---|---|
Location |
PacketType
Gets the type of this packet.
Declaration
public OutgoingPacketType PacketType { get; }
Property Value
Type | Description |
---|---|
OutgoingPacketType |
ToLocation
Gets the location of impact.
Declaration
public Location ToLocation { get; }
Property Value
Type | Description |
---|---|
Location |