sharedlibrarycoreinterfaces ICoreEventHandler - RaidMax/IW4M-Admin GitHub Wiki
ICoreEventHandler Public interface
Description
Handles games events (from log, manual events, etc)
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.ICoreEventHandler[ICoreEventHandler](/RaidMax/IW4M-Admin/wiki/ICoreEventHandler)
class SharedLibraryCore.Interfaces.ICoreEventHandler interfaceStyle;
end
Members
Methods
Public methods
| Returns | Name |
|---|---|
void |
QueueEvent(IManager manager, CoreEvent coreEvent)Add a core event event to the queue to be processed |
void |
StartProcessing(CancellationToken token) |
Details
Summary
Handles games events (from log, manual events, etc)
Methods
QueueEvent
public void QueueEvent(IManager manager, CoreEvent coreEvent)
Arguments
| Type | Name | Description |
|---|---|---|
IManager |
manager | IManager |
CoreEvent |
coreEvent | CoreEvent |
Summary
Add a core event event to the queue to be processed
StartProcessing
public void StartProcessing(CancellationToken token)
Arguments
| Type | Name | Description |
|---|---|---|
CancellationToken |
token |
Generated with ModularDoc