Table of Contents

Struct ModifierEntry

Namespace
Core.Diplomacy
Assembly
Core.dll

Single modifier entry in the flattened modifier array Stores both the modifier data AND which relationship it belongs to

This enables Burst-compiled parallel processing of ALL modifiers at once instead of iterating relationships sequentially

public struct ModifierEntry

Fields

coldDataIndex

Index in coldDataStorage for this relationship Used to mark relationships as empty after decay

public int coldDataIndex

Field Value

int

modifier

The opinion modifier data

public OpinionModifier modifier

Field Value

OpinionModifier

relationshipKey

Relationship key (packed country pair)

public ulong relationshipKey

Field Value

ulong