Table of Contents

Struct DiplomacyPeaceMadeEvent

Namespace
Core.Diplomacy
Assembly
Core.dll

Emitted when two countries make peace AI uses this to: recalculate threat levels, consider new targets UI uses this to: show notifications, update war list

public struct DiplomacyPeaceMadeEvent : IGameEvent
Implements

Constructors

DiplomacyPeaceMadeEvent(ushort, ushort, int)

public DiplomacyPeaceMadeEvent(ushort c1, ushort c2, int tick)

Parameters

c1 ushort
c2 ushort
tick int

Fields

country1

public readonly ushort country1

Field Value

ushort

country2

public readonly ushort country2

Field Value

ushort

tick

public readonly int tick

Field Value

int

Properties

TimeStamp

Timestamp when the event was emitted (set automatically by EventBus).

public float TimeStamp { readonly get; set; }

Property Value

float