UIResistanceReport_ShowCouncil

Tracking Issue: #663

Tags: ui, events

Allows overriding whether to show the council guy and his remarks in the background at the end of month.

UIResistanceReport_ShowCouncil event

Param Value
EventID UIResistanceReport_ShowCouncil
EventData XComLWTuple
EventSource UIResistanceReport
NewGameState none

Tuple contents

Index Name Type Direction
0 ShouldShow bool inout

Listener template

static function EventListenerReturn OnUIResistanceReport_ShowCouncil(Object EventData, Object EventSource, XComGameState GameState, Name EventID, Object CallbackObject)
{
    local UIResistanceReport Screen;
    local XComLWTuple Tuple;
    local bool ShouldShow;

    Screen = UIResistanceReport(EventSource);
    Tuple = XComLWTuple(EventData);

    ShouldShow = Tuple.Data[0].b;

    // Your code here

    Tuple.Data[0].b = ShouldShow;

    return ELR_NoInterrupt;
}

Source code references