예제 #1
0
        public static MG FindDynamicShinyGift(ushort natid, uint tid, uint sid)
        {
            for (int i = 0; i < m_DynamicShinyGifts.Length; i++)
            {
                MG entry = m_DynamicShinyGifts[i];
                if (entry.ValidEvo(natid) && entry.TID == tid && entry.SID == sid)
                {
                    return(entry);
                }
            }

            return(null);
        }
예제 #2
0
        public static MG FindStaticGift(ushort natid, uint tid, uint sid)
        {
            for (int i = 0; i < m_StaticGifts.Length; i++)
            {
                MG entry = m_StaticGifts[i];
                if (entry.ValidEvo(natid) && entry.TID == tid && entry.SID == sid)
                {
                    //Console.WriteLine( "Entry: {0}", i );
                    return(entry);
                }
            }

            return(null);
        }