-
-
Notifications
You must be signed in to change notification settings - Fork 44
sharedlibrarycoreinterfacesevents IGameEventSubscriptions
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Interfaces.Events
SharedLibraryCore.Interfaces.Events.IGameEventSubscriptions[[IGameEventSubscriptions]]
class SharedLibraryCore.Interfaces.Events.IGameEventSubscriptions interfaceStyle;
end
Returns | Name |
---|---|
void |
ClearEventInvocations () |
Task |
InvokeEventAsync (CoreEvent coreEvent, CancellationToken token) |
public static Task InvokeEventAsync(CoreEvent coreEvent, CancellationToken token)
Type | Name | Description |
---|---|---|
CoreEvent |
coreEvent | |
CancellationToken |
token |
public static void ClearEventInvocations()
public static event Func<MatchStartEvent, CancellationToken, Task> MatchStarted
Raised when game log prints that match has started InitGame MatchStartEvent
public static event Func<MatchEndEvent, CancellationToken, Task> MatchEnded
Raised when game log prints that match has ended ShutdownGame: MatchEndEvent
public static event Func<ClientEnterMatchEvent, CancellationToken, Task> ClientEnteredMatch
Raised when game log printed that client has entered the match J;clientNetworkId;clientSlotNumber;clientName J;110000100000000;0;bot ClientEnterMatchEvent
public static event Func<ClientExitMatchEvent, CancellationToken, Task> ClientExitedMatch
Raised when game log prints that client has exited the match Q;clientNetworkId;clientSlotNumber;clientName Q;110000100000000;0;bot ClientExitMatchEvent
public static event Func<ClientJoinTeamEvent, CancellationToken, Task> ClientJoinedTeam
Raised when game log prints that client has joined a team JT;clientNetworkId;clientSlotNumber;clientTeam;clientName JT;110000100000000;0;axis;bot ClientJoinTeamEvent
public static event Func<ClientDamageEvent, CancellationToken, Task> ClientDamaged
Raised when game log prints that client has been damaged D;victimNetworkId;victimSlotNumber;victimTeam;victimName;attackerNetworkId;attackerSlotNumber;attackerTeam;attackerName;weapon;damage;meansOfDeath;hitLocation D;110000100000000;17;axis;bot_0;110000100000001;4;allies;bot_1;scar_mp;38;MOD_HEAD_SHOT;head ClientDamageEvent
public static event Func<ClientKillEvent, CancellationToken, Task> ClientKilled
Raised when game log prints that client has been killed K;victimNetworkId;victimSlotNumber;victimTeam;victimName;attackerNetworkId;attackerSlotNumber;attackerTeam;attackerName;weapon;damage;meansOfDeath;hitLocation K;110000100000000;17;axis;bot_0;110000100000001;4;allies;bot_1;scar_mp;100;MOD_HEAD_SHOT;head ClientKillEvent
public static event Func<ClientMessageEvent, CancellationToken, Task> ClientMessaged
Raised when game log prints that client entered a chat message say;clientNetworkId;clientSlotNumber;clientName;message say;110000100000000;0;bot;hello world! ClientMessageEvent
public static event Func<ClientCommandEvent, CancellationToken, Task> ClientEnteredCommand
Raised when game log prints that client entered a command (chat message prefixed with command character(s)) say;clientNetworkId;clientSlotNumber;clientName;command say;110000100000000;0;bot;!command ClientCommandEvent
public static event Func<GameScriptEvent, CancellationToken, Task> ScriptEventTriggered
Raised when game log prints user generated script event GSE;data GSE;loadBank=1 GameScriptEvent
Generated with ModularDoc