summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XPuppet.cs
blob: e7e336d9b80273880528c2a46d97a43838936786 (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
using System;
using XUtliPoolLib;

namespace XMainClient
{
	internal sealed class XPuppet : XEnemy
	{
		public override bool Initilize(int flag)
		{
			base.Initilize(flag);
			this._eEntity_Type |= XEntity.EnitityType.Entity_Puppet;
			bool flag2 = (flag & XFastEnumIntEqualityComparer<XEntity.InitFlag>.ToInt(XEntity.InitFlag.Entity_Transform)) == 0;
			if (flag2)
			{
				this._audio = (XSingleton<XComponentMgr>.singleton.CreateComponent(this, XAudioComponent.uuID) as XAudioComponent);
			}
			bool syncMode = XSingleton<XGame>.singleton.SyncMode;
			if (syncMode)
			{
				base.IsServerFighting = true;
			}
			return true;
		}

		protected override void Move()
		{
		}
	}
}