-
-
Notifications
You must be signed in to change notification settings - Fork 44
iw4madminapplicationmisc InteractionRegistration
RaidMax edited this page May 21, 2023
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.Misc
IW4MAdmin.Application.Misc.InteractionRegistration[[InteractionRegistration]]
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IInteractionRegistration[[IInteractionRegistration]]
class SharedLibraryCore.Interfaces.IInteractionRegistration interfaceStyle;
end
SharedLibraryCore.Interfaces.IInteractionRegistration --> IW4MAdmin.Application.Misc.InteractionRegistration
Returns | Name |
---|---|
Task <IEnumerable <IInteractionData >> |
GetInteractions (string interactionPrefix, Nullable <int > clientId, Nullable <Game > game, CancellationToken token) |
Task <string > |
ProcessInteraction (string interactionId, int originId, Nullable <int > targetId, Nullable <Game > game, IDictionary <string , string > meta, CancellationToken token) |
void |
RegisterInteraction (string interactionName, Func <Nullable <int >, Nullable <Game >, CancellationToken , Task <IInteractionData >> interactionRegistration) |
void |
RegisterScriptInteraction (string interactionName, string source, Delegate interactionRegistration) |
void |
UnregisterInteraction (string interactionName) |
public InteractionRegistration(ILogger<InteractionRegistration> logger, IServiceProvider serviceProvider)
Type | Name | Description |
---|---|---|
ILogger <InteractionRegistration > |
logger | |
IServiceProvider |
serviceProvider |
public virtual void RegisterScriptInteraction(string interactionName, string source, Delegate interactionRegistration)
Type | Name | Description |
---|---|---|
string |
interactionName | |
string |
source | |
Delegate |
interactionRegistration |
public virtual void RegisterInteraction(string interactionName, Func<Nullable<int>, Nullable<Game>, CancellationToken, Task<IInteractionData>> interactionRegistration)
Type | Name | Description |
---|---|---|
string |
interactionName | |
Func <Nullable <int >, Nullable <Game >, CancellationToken , Task <IInteractionData >> |
interactionRegistration |
public virtual void UnregisterInteraction(string interactionName)
Type | Name | Description |
---|---|---|
string |
interactionName |
public virtual async Task<IEnumerable<IInteractionData>> GetInteractions(string interactionPrefix, Nullable<int> clientId, Nullable<Game> game, CancellationToken token)
Type | Name | Description |
---|---|---|
string |
interactionPrefix | |
Nullable <int > |
clientId | |
Nullable <Game > |
game | |
CancellationToken |
token |
public virtual async Task<string> ProcessInteraction(string interactionId, int originId, Nullable<int> targetId, Nullable<Game> game, IDictionary<string, string> meta, CancellationToken token)
Type | Name | Description |
---|---|---|
string |
interactionId | |
int |
originId | |
Nullable <int > |
targetId | |
Nullable <Game > |
game | |
IDictionary <string , string > |
meta | |
CancellationToken |
token |
Generated with ModularDoc