Example #1
0
 private static bool TryCreateMonster(ActorCommonData acd, out IMapMarker item, ref bool interested)
 {
     item = null;
     if (acd.x17C_ActorType == ActorType.Monster)
     {
         interested = true;
         if (IsValidMonster(acd))
         {
             item = new MapMarkerAcdMonster(acd, IsValidMonster);
             return(true);
         }
     }
     return(false);
 }
Example #2
0
		private static bool TryCreateMonster(ActorCommonData acd, out IMapMarker item, ref bool interested)
		{
			item = null;
			if (acd.x184_ActorType == ActorType.Monster)
			{
				interested = true;
				if (IsValidMonster(acd))
				{
					item = new MapMarkerAcdMonster(acd, IsValidMonster);
					return true;
				}
			}
			return false;
		}