Class LookAtPacket
Class that represents a look at packet.
Inheritance
System.Object
LookAtPacket
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.Incoming
Assembly: Fibula.Communications.Packets.dll
Syntax
public class LookAtPacket : IIncomingPacket, ILookAtInfo
Constructors
| Improve this Doc View SourceLookAtPacket(Location, UInt16, Byte)
Initializes a new instance of the LookAtPacket class.
Declaration
public LookAtPacket(Location location, ushort thingId, byte stackPos)
Parameters
Type | Name | Description |
---|---|---|
Location | location | The location we're looking at. |
System.UInt16 | thingId | The id of the thing being looked at. |
System.Byte | stackPos | The position in the stack of the thing being looked at. |
Properties
| Improve this Doc View SourceLocation
Gets the location of the thing being looked at.
Declaration
public Location Location { get; }
Property Value
Type | Description |
---|---|
Location |
StackPosition
Gets the position in the stack of the thing being looked at.
Declaration
public byte StackPosition { get; }
Property Value
Type | Description |
---|---|
System.Byte |
ThingId
Gets the if of the thing being looked at.
Declaration
public ushort ThingId { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |