对话回顾

This commit is contained in:
2025-01-10 21:39:25 +08:00
parent 62cc381479
commit b7cb09439e
32 changed files with 1083 additions and 2146 deletions
+4 -4
View File
@@ -87,7 +87,7 @@ namespace AibisDream.Framework
var kv = key.ToInt32(null);
if (!_eventDict.TryGetValue(typeof(T), out var e)) return;
if (e.Length >= kv || e[kv] == null) return;
if (e.Length <= kv || e[kv] == null) return;
if (e[kv] is EasyEvent tempEvent)
{
@@ -100,7 +100,7 @@ namespace AibisDream.Framework
var kv = key.ToInt32(null);
if (!_eventDict.TryGetValue(typeof(T), out var e)) return;
if (e.Length >= kv || e[kv] == null) return;
if (e.Length <= kv || e[kv] == null) return;
e[kv].UnRegisterAll();
}
@@ -120,7 +120,7 @@ namespace AibisDream.Framework
var kv = key.ToInt32(null);
if (!_eventDict.TryGetValue(typeof(T), out var e)) return;
if (e.Length >= kv || e[kv] == null) return;
if (e.Length <= kv || e[kv] == null) return;
if (e[kv] is EasyEvent tempEvent)
{
@@ -133,7 +133,7 @@ namespace AibisDream.Framework
var kv = key.ToInt32(null);
if (!_eventDict.TryGetValue(typeof(T), out var e)) return;
if (e.Length >= kv || e[kv] == null) return;
if (e.Length <= kv || e[kv] == null) return;
if (e[kv] is EasyEvent<TE> tempEvent)
{