Table of Contents

Struct AllianceFormedEvent

Namespace
Core.Diplomacy
Assembly
Core.dll

Emitted when an alliance is formed between two countries GAME layer uses this to add opinion bonuses, UI notifications

public struct AllianceFormedEvent : IGameEvent
Implements

Constructors

AllianceFormedEvent(ushort, ushort, int)

public AllianceFormedEvent(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