• API Documentation
Show / Hide Table of Contents
  • Rebus
    • Arguments
    • Biome
    • CantorPairing
    • CommandRequest
    • CommandResponse
    • CommandType
    • Commodity
    • Configuration
    • ConflictEventArgs
    • Depths
    • Economy
    • Fleet
    • HexPoint
    • IGameService
    • ILoginService
    • Player
    • Unit
    • User
    • Zone
    • ZoneInfo
  • Rebus.Client
    • GraphicsEngine
    • Layout
    • RpcClient
    • ZoneVisualizer
  • Rebus.Client.Lenses
    • BiomeLens
    • ConstellationLens
    • Lens
    • PopulationLens
    • StarLens
  • Rebus.Server
    • AStarSearch
    • EvaluationContext
    • FisherYatesShuffle
    • JuliaSet
    • PowerSet
  • Rebus.Server.Considerations
    • Agent
    • Behavior
    • BehaviorCollection
    • Consideration
    • ConsiderationCollection
    • FunctionConsideration
    • LinearConsideration
    • QuadraticConsideration
  • Rebus.Server.Functions
    • IFunctions<T>
  • System
    • NegativeExponentialRandom
  • System.Text.Json.Serialization.Converters
    • ComplexConverter
    • CultureInfoConverter
    • IPAddressConverter

Class ConflictEventArgs

Inheritance
Object
EventArgs
ConflictEventArgs
Inherited Members
EventArgs.Empty
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Rebus
Assembly: Rebus.dll
Syntax
[MessagePackObject(false)]
public class ConflictEventArgs : EventArgs

Constructors

ConflictEventArgs(HexPoint, Boolean, Fleet, Fleet, Int32)

Declaration
public ConflictEventArgs(HexPoint location, bool invasionSucceeded, Fleet invader, Fleet occupant, int unitsRetreated)
Parameters
Type Name Description
HexPoint location
Boolean invasionSucceeded
Fleet invader
Fleet occupant
Int32 unitsRetreated

ConflictEventArgs(HexPoint, Boolean, Fleet, Fleet, Int32, Int32, Int32)

Declaration
public ConflictEventArgs(HexPoint location, bool invasionSucceeded, Fleet invader, Fleet occupant, int unitsRetreated, int unitsDestroyed, int unitsCaptured)
Parameters
Type Name Description
HexPoint location
Boolean invasionSucceeded
Fleet invader
Fleet occupant
Int32 unitsRetreated
Int32 unitsDestroyed
Int32 unitsCaptured

Properties

Invader

Declaration
[Key(2)]
public Fleet Invader { get; }
Property Value
Type Description
Fleet

InvasionSucceeded

Declaration
[Key(1)]
public bool InvasionSucceeded { get; }
Property Value
Type Description
Boolean

Location

Declaration
[Key(0)]
public HexPoint Location { get; }
Property Value
Type Description
HexPoint

Occupant

Declaration
[Key(3)]
public Fleet Occupant { get; }
Property Value
Type Description
Fleet

UnitsCaptured

Declaration
[Key(6)]
public int UnitsCaptured { get; }
Property Value
Type Description
Int32

UnitsDestroyed

Declaration
[Key(5)]
public int UnitsDestroyed { get; }
Property Value
Type Description
Int32

UnitsRetreated

Declaration
[Key(4)]
public int UnitsRetreated { get; }
Property Value
Type Description
Int32
In This Article
Back to top © 2021-2022 Ishan Pranav. All rights reserved. Licensed under the MIT License.