예제 #1
0
        public DeltDexData ConvertDexToData(DeltDexClass dex)
        {
            DeltDexData newDexData = new DeltDexData();

            newDexData.nickname   = dex.nickname;
            newDexData.actualName = dex.deltName;
            newDexData.pin        = dex.pinNumber;
            newDexData.rarity     = dex.rarity;
            return(newDexData);
        }
예제 #2
0
        // Add new DeltDex Data entry to player
        DeltDexData newDeltDexData(DeltDexClass deltDex)
        {
            DeltDexData ddd = new DeltDexData();

            ddd.actualName = deltDex.deltName;
            ddd.nickname   = deltDex.nickname;
            ddd.pin        = deltDex.pinNumber;
            ddd.rarity     = deltDex.rarity;
            return(ddd);
        }