Show / Hide Table of Contents

    Class ModesPacket

    Class that represents a packet for fight and chase modes.

    Inheritance
    System.Object
    ModesPacket
    Implements
    IIncomingPacket
    IModesInfo
    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 Source

    ModesPacket(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 Source

    ChaseMode

    Gets the chase mode.

    Declaration
    public ChaseMode ChaseMode { get; }
    Property Value
    Type Description
    ChaseMode
    | Improve this Doc View Source

    FightMode

    Gets the fight mode.

    Declaration
    public FightMode FightMode { get; }
    Property Value
    Type Description
    FightMode
    | Improve this Doc View Source

    SafeModeOn

    Gets a value indicating whether the safe mode is on.

    Declaration
    public bool SafeModeOn { get; }
    Property Value
    Type Description
    System.Boolean

    Implements

    IIncomingPacket
    IModesInfo

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.