summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/kali_slash_show.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/kali_slash_show.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/kali_slash_show.cs47
1 files changed, 47 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/kali_slash_show.cs b/Client/Assets/Scripts/XMainClient/kali_slash_show.cs
new file mode 100644
index 00000000..62feaca0
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/kali_slash_show.cs
@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class kali_slash_show
+ {
+ private static bool _start = false;
+
+ private static uint token = 0u;
+
+ public static bool Do(List<XActor> actors)
+ {
+ bool flag = actors != null && actors.Count == XGame.RoleCount;
+ if (flag)
+ {
+ bool flag2 = actors[0].Dummy.BillBoard != null;
+ if (flag2)
+ {
+ actors[0].Dummy.BillBoard.HideBillboard();
+ }
+ for (int i = 1; i < XGame.RoleCount; i++)
+ {
+ XSelectcharStage.ShowBillboard(actors[i].Dummy);
+ }
+ bool flag3 = !kali_slash_show._start;
+ if (flag3)
+ {
+ kali_slash_show.token = XSingleton<XTimerMgr>.singleton.SetTimer(0.2f, new XTimerMgr.ElapsedEventHandler(kali_slash_show.ResetBound), actors);
+ kali_slash_show._start = true;
+ }
+ }
+ bool flag4 = actors == null;
+ if (flag4)
+ {
+ kali_slash_show._start = false;
+ XSingleton<XTimerMgr>.singleton.KillTimer(kali_slash_show.token);
+ }
+ return true;
+ }
+
+ private static void ResetBound(object o)
+ {
+ }
+ }
+}