diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/assassin_slash_show.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/assassin_slash_show.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/assassin_slash_show.cs | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/assassin_slash_show.cs b/Client/Assets/Scripts/XMainClient/assassin_slash_show.cs new file mode 100644 index 00000000..b07f9681 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/assassin_slash_show.cs @@ -0,0 +1,47 @@ +using System;
+using System.Collections.Generic;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class assassin_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 = !assassin_slash_show._start;
+ if (flag3)
+ {
+ assassin_slash_show.token = XSingleton<XTimerMgr>.singleton.SetTimer(0.2f, new XTimerMgr.ElapsedEventHandler(assassin_slash_show.ResetBound), actors);
+ assassin_slash_show._start = true;
+ }
+ }
+ bool flag4 = actors == null;
+ if (flag4)
+ {
+ assassin_slash_show._start = false;
+ XSingleton<XTimerMgr>.singleton.KillTimer(assassin_slash_show.token);
+ }
+ return true;
+ }
+
+ private static void ResetBound(object o)
+ {
+ }
+ }
+}
|