Table of Contents

Struct ResourceTransferredEvent

Namespace
Core.Resources
Assembly
Core.dll

ENGINE: Event fired when resources are transferred between countries.

public struct ResourceTransferredEvent : IGameEvent
Implements

Fields

Amount

Amount transferred

public FixedPoint64 Amount

Field Value

FixedPoint64

FromCountryId

The country that sent the resource

public ushort FromCountryId

Field Value

ushort

ResourceId

The resource type transferred

public ushort ResourceId

Field Value

ushort

ToCountryId

The country that received the resource

public ushort ToCountryId

Field Value

ushort

Properties

TimeStamp

Event timestamp (auto-set by EventBus)

public float TimeStamp { readonly get; set; }

Property Value

float