TF2_OnIsHolidayActive Forward

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'

Action TF2_OnIsHolidayActive(TFHoliday holiday, bool& result)


TFHoliday holiday

Holiday being checked.

bool& result

Buffer param for the result of the decision.

Return Value

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