blob: 064f71b81ed571a3034fc0d6a1380332e1ac5006 (
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
|
using System;
using System.Collections.Generic;
using XUtliPoolLib;
namespace XMainClient
{
internal class newbie_level
{
private static bool _once = false;
public static bool Do(List<XActor> actors)
{
bool flag = actors == null;
if (flag)
{
XSingleton<XCutScene>.singleton.IsExcludeNewBorn = true;
XSingleton<XLevelScriptMgr>.singleton.SetExternalString("npctalk", true);
newbie_level._once = false;
}
else
{
bool flag2 = !newbie_level._once;
if (flag2)
{
XSingleton<XCutScene>.singleton.IsExcludeNewBorn = false;
newbie_level._once = true;
}
}
return true;
}
}
}
|