blob: 62feaca0a64c1fb6511e5270130c549001dc4da7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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)
{
}
}
}
|