mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
Revisions
This commit is contained in:
1 parent
2028db671f
commit
3b55d8d2f8
37 files changed
+1743
-230
No files matched your search
@@ -533,7 +533,7 @@ public static class TypeDefGenerator
|
||||
if (typeDef.Events.Length > 0)
|
||||
{
|
||||
|
||||
rt.AppendLine("protected override void _EmitEventByIndex(byte index, object args) {");
|
||||
rt.AppendLine("protected override void _EmitEventByIndex(byte index, object args, ResourceCursor cursor, DateTime recordedAt) {");
|
||||
rt.AppendLine("switch (index) {");
|
||||
|
||||
var eventsList = new StringBuilder();
|
||||
@@ -554,7 +554,9 @@ public static class TypeDefGenerator
|
||||
eventsList.AppendLine($"[Export] public event ResourceEventHandler<{etTypeName}> {e.Name};");
|
||||
}
|
||||
|
||||
rt.AppendLine("}}");
|
||||
rt.AppendLine("}");
|
||||
rt.AppendLine("base._EmitEventByIndex(index, args, cursor, recordedAt);");
|
||||
rt.AppendLine("}");
|
||||
|
||||
rt.AppendLine(eventsList.ToString());
|
||||
|
||||
|
||||
Reference in new issue
Block a user