diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/academic_slash_show.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/academic_slash_show.cs | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/academic_slash_show.cs b/Client/Assets/Scripts/XMainClient/academic_slash_show.cs new file mode 100644 index 00000000..5ebbd55f --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/academic_slash_show.cs @@ -0,0 +1,47 @@ +using System;
+using System.Collections.Generic;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class academic_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 = !academic_slash_show._start;
+ if (flag3)
+ {
+ academic_slash_show.token = XSingleton<XTimerMgr>.singleton.SetTimer(0.2f, new XTimerMgr.ElapsedEventHandler(academic_slash_show.ResetBound), actors);
+ academic_slash_show._start = true;
+ }
+ }
+ bool flag4 = actors == null;
+ if (flag4)
+ {
+ academic_slash_show._start = false;
+ XSingleton<XTimerMgr>.singleton.KillTimer(academic_slash_show.token);
+ }
+ return true;
+ }
+
+ private static void ResetBound(object o)
+ {
+ }
+ }
+}
|