Example #1
0
        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);
            }
        }
Example #2
0
        public static bool Matches(SimID id, ulong sim)
        {
            if (id == null) return false;

            return (id.mID == sim);
        }