public static bool Matches(SimID id, SimDescription sim) { if (sim == null) { if (id == null) return true; return (id.mID == 0); } else { return Matches(id, sim.SimDescriptionId); } }
public static bool Matches(SimID id, ulong sim) { if (id == null) return false; return (id.mID == sim); }