Not named anywhere in the server, client or engine binaries. It may be fired by scripts, or not at all.
DifficultyChangedEvent[GameEventHandler("difficulty_changed")]
public HookResult OnDifficultyChanged(DifficultyChangedEvent args) {
// args.NewDifficulty, args.OldDifficulty, args.StrDifficulty
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| newDifficulty | short | NewDifficulty int | |
| oldDifficulty | short | OldDifficulty int | |
| strDifficulty | string | StrDifficulty string | new difficulty as string |