Skip to content

Should 'history' store events based on tribeId and not civId #148

@axx0

Description

@axx0

Partly related to this issue.
Currently the events in history (Engine/src/History/History.cs) are stored based on civId (0...7). Should we instead store events based on tribeId (0...21), so we account for e.g. dead civs?

public abstract class HistoryEvent
    {
        public HistoryEventType EventType { get; }
        public int Civ { get; }

        public int Turn { get; }
        protected HistoryEvent(HistoryEventType eventType, int civ, Game game)
        {
            EventType = eventType;
            Civ = civ;
            Turn = game.TurnNumber;
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions