protected BaseVobInst(BaseVobDef def) { BaseInst = CreateVob(); if (BaseInst == null) { throw new NullReferenceException("BaseInst is null!"); } Definition = def; }
public bool TryGetByName(int id, out NPCDef npcDef) { return(BaseVobDef.TryGetDef(id, out npcDef)); }
protected BaseVobInst(BaseVobDef def) : this() { this.Definition = def; }