Class ModesPacket
Class that represents a packet for fight and chase modes.
Inheritance
System.Object
ModesPacket
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 ModesPacket : IIncomingPacket, IModesInfo
Constructors
| Improve this Doc View SourceModesPacket(FightMode, ChaseMode, Boolean)
Initializes a new instance of the ModesPacket class.
Declaration
public ModesPacket(FightMode fightMode, ChaseMode chaseMode, bool isSafetyEnabled)
Parameters
Type | Name | Description |
---|---|---|
FightMode | fightMode | The fight mode selected. |
ChaseMode | chaseMode | The chase mode selected. |
System.Boolean | isSafetyEnabled | A value indicating whether the safety mode is on. |
Properties
| Improve this Doc View SourceChaseMode
Gets the chase mode.
Declaration
public ChaseMode ChaseMode { get; }
Property Value
Type | Description |
---|---|
ChaseMode |
FightMode
Gets the fight mode.
Declaration
public FightMode FightMode { get; }
Property Value
Type | Description |
---|---|
FightMode |
SafeModeOn
Gets a value indicating whether the safe mode is on.
Declaration
public bool SafeModeOn { get; }
Property Value
Type | Description |
---|---|
System.Boolean |