TF2_OnIsHolidayActive

Last Updated2011-10-28
Created At2011-10-28

Called at various times when the game checks to see if the given holiday is active. Return Plugin_Continue to let the original calculation or return a higher action to override the decision with the value of 'result'

forward Action TF2_OnIsHolidayActive(TFHoliday holiday, bool& result)

Parameters

TFHoliday holiday
Holiday being checked.
bool& result
Buffer param for the result of the decision.

Return Value

Action Plugin_Continue for original calculation, higher value to use 'result'.