Example #1
0
        static public bool LocationEquals(this IDialogueMissionLocation o0, IDialogueMissionLocation o1)
        {
            if (ReferenceEquals(o0, o1))
            {
                return(true);
            }

            if (null == o0 || null == o1)
            {
                return(false);
            }

            return
                (o0.Name == o1.Name &&
                 o0.SystemName == o1.SystemName &&
                 o0.SecurityLevelMilli == o1.SecurityLevelMilli);
        }
Example #2
0
        static public bool LocationEquals(this IDialogueMissionLocation O0, IDialogueMissionLocation O1)
        {
            if (ReferenceEquals(O0, O1))
            {
                return(true);
            }

            if (null == O0 || null == O1)
            {
                return(true);
            }

            return
                (O0.Name == O1.Name &&
                 O0.SystemName == O1.SystemName &&
                 O0.SecurityLevelMilli == O1.SecurityLevelMilli);
        }