示例#1
0
 /// <summary>
 /// </summary>
 /// <param name="lootTable">
 /// </param>
 /// <returns>
 /// </returns>
 public bool FillInventory(LootTable lootTable)
 {
     try
     {
         this.Inventory = lootTable.GetLoot();
         return true;
     }
     catch (Exception)
     {
         LogUtil.Debug(
             "Could not create LootTable for Corpse " + this.identity.Type.ToString("X8") + ":"
             + this.identity.Instance.ToString("X8") + " on Playfield "
             + this.playfield.Identity.Type.ToString("X8") + ":"
             + this.playfield.Identity.Instance.ToString("X8"));
         return false;
     }
 }
示例#2
0
 /// <summary>
 /// </summary>
 /// <param name="lootTable">
 /// </param>
 /// <returns>
 /// </returns>
 /// <exception cref="NotImplementedException">
 /// </exception>
 public bool FillInventory(LootTable lootTable)
 {
     throw new NotImplementedException();
 }