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