Aura.Channel.Scripting.Scripts.GameEventScript.Init C# (CSharp) 메소드

Init() 공개 메소드

Loads and sets up event.
public Init ( ) : bool
리턴 bool
		public override bool Init()
		{
			this.Load();

			if (string.IsNullOrWhiteSpace(this.Id) || string.IsNullOrWhiteSpace(this.Name))
			{
				Log.Error("Id or name not set for event script '{0}'.", this.GetType().Name);
				return false;
			}

			ChannelServer.Instance.GameEventManager.Register(this);

			this.AfterLoad();

			return true;
		}