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