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