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;
		}