Class AddCreaturePacket
Class that represents a packet with information about a creatue that was added to the game.
Inheritance
System.Object
AddCreaturePacket
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 AddCreaturePacket : IOutboundPacket
Constructors
| Improve this Doc View SourceAddCreaturePacket(ICreature, Boolean, UInt32)
Initializes a new instance of the AddCreaturePacket class.
Declaration
public AddCreaturePacket(ICreature creature, bool asKnown, uint removeThisCreatureId)
Parameters
Type | Name | Description |
---|---|---|
ICreature | creature | The creature that was added. |
System.Boolean | asKnown | A value indicating whether the creature was added as a known creature or not. |
System.UInt32 | removeThisCreatureId | An id of another creature to remove from the known list, and replace with this new creature. |
Properties
| Improve this Doc View SourceAsKnown
Gets a value indicating whether the creature was added as a known creature or not.
Declaration
public bool AsKnown { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Creature
Gets a reference to the creature added.
Declaration
public ICreature Creature { get; }
Property Value
Type | Description |
---|---|
ICreature |
PacketType
Gets the type of this packet.
Declaration
public OutgoingPacketType PacketType { get; }
Property Value
Type | Description |
---|---|
OutgoingPacketType |
RemoveThisCreatureId
Gets an id of another creature to remove from the known list, and replace with this new creature.
Declaration
public uint RemoveThisCreatureId { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |