public static Find ( string name ) : Server.Mobiles.EscortDestinationInfo | ||
name | string | |
return | Server.Mobiles.EscortDestinationInfo |
public static EDI Find(string name)
{
if (m_Table == null)
LoadTable();
if (name == null || m_Table == null)
return null;
return (EscortDestinationInfo)m_Table[name];
}
}
public EDI GetDestination() { if (this.m_DestinationString == null && this.m_DeleteTimer == null) { this.m_DestinationString = this.PickRandomDestination(); } if (this.m_Destination != null && this.m_Destination.Name == this.m_DestinationString) { return(this.m_Destination); } if (Map.Felucca.Regions.Count > 0) { return(this.m_Destination = EDI.Find(this.m_DestinationString)); } return(this.m_Destination = null); }