Пример #1
0
 internal void on_K2_PostLogin(PlayerController NewPlayer) =>
 K2_PostLogin?.Invoke(NewPlayer);
Пример #2
0
 internal bool on_CanSpectate(PlayerController Viewer, PlayerState ViewTarget, bool ReturnValue) =>
 CanSpectate != null?CanSpectate(Viewer, ViewTarget, ReturnValue) : ReturnValue;
Пример #3
0
 internal void on_K2_OnSwapPlayerControllers(PlayerController OldPC, PlayerController NewPC) =>
 K2_OnSwapPlayerControllers?.Invoke(OldPC, NewPC);
Пример #4
0
 internal bool on_PlayerCanRestart(PlayerController Player, bool ReturnValue) =>
 PlayerCanRestart != null?PlayerCanRestart(Player, ReturnValue) : ReturnValue;
Пример #5
0
 internal bool on_MustSpectate(PlayerController NewPlayerController, bool ReturnValue) =>
 MustSpectate != null?MustSpectate(NewPlayerController, ReturnValue) : ReturnValue;
Пример #6
0
 internal void on_InitializeHUDForPlayer(PlayerController NewPlayer) =>
 InitializeHUDForPlayer?.Invoke(NewPlayer);
Пример #7
0
 internal void on_HandleStartingNewPlayer(PlayerController NewPlayer) =>
 HandleStartingNewPlayer?.Invoke(NewPlayer);