Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit 8296276

Browse files
committed
Typo correction
1 parent f96ba86 commit 8296276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RiotGames.Client.CodeGeneration/LeagueClient/LeagueClientEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static MemberDeclarationSyntax[] RmsEvent(string topic, string identifier
3131
.WithAccessorList(AccessorList(new SyntaxList<AccessorDeclarationSyntax>(new[]
3232
{
3333
AccessorDeclaration(SyntaxKind.AddAccessorDeclaration, ParseStatement(
34-
$"if ({privateEventIdentifier} == null) EventRouter.Subscribe(\"{topic}\", (RmsChangeType changeType, {typeName} args) => {privateEventIdentifier}?.Invoke(this, changeType, args)); {privateEventIdentifier} += value;")
34+
$"if ({privateEventIdentifier} == null) EventRouter.Subscribe(\"{topic}\", (RmsEventType eventType, {typeName} args) => {privateEventIdentifier}?.Invoke(this, eventType, args)); {privateEventIdentifier} += value;")
3535
.ToBlock()),
3636
AccessorDeclaration(SyntaxKind.RemoveAccessorDeclaration, ParseStatement(
3737
$"{privateEventIdentifier} -= value; if ({privateEventIdentifier} == null) EventRouter.Unsubscribe(\"{topic}\"); ")

0 commit comments

Comments
 (0)