Пример #1
0
 private void getTiers(CTieresPageModel arg1, TIERS arg2)
 {
     Device.BeginInvokeOnMainThread(() =>
     {
         Tiers     = arg2;
         reference = arg2.TIRREFFOUCLI;
         intitule  = arg2.TIRSOCIETE;
     });
 }
Пример #2
0
 private void getTiers(CTieresPageModel arg1, TIERS arg2)
 {
     Console.WriteLine("tiers recieved");
     Device.BeginInvokeOnMainThread(() =>
     {
         numerofournisseur   = arg2.TIRCODE;
         fournisseurintitule = arg2.TIRSOCIETE;
         Tiers = arg2;
     });
 }
Пример #3
0
 private void getTiers(CTieresPageModel arg1, TIERS arg2)
 {
     Console.WriteLine("tiers recieved");
     Device.BeginInvokeOnMainThread(() =>
     {
         Tiers     = arg2;
         reference = arg2.TIRREFFOUCLI;
         intitule  = arg2.TIRSOCIETE;
     });
 }
Пример #4
0
    void SetIconData(Defines.ICONS ID, string imagePath, bool isUnlocked_, bool isBuy_, bool isGacha_, TIERS gachaTier_)
    {
        mIcon[(int)ID].image      = Resources.Load <Sprite>(imagePath) as Sprite;
        mIcon[(int)ID].isUnlocked = isUnlocked_;
        mIcon[(int)ID].isBuy      = isBuy_;
        mIcon[(int)ID].isGacha    = isGacha_;
        mIcon[(int)ID].gachaTier  = gachaTier_;
        mIcon[(int)ID].name       = imagePath.Substring(6, 4);

        if (mIcon[(int)ID].gachaTier == TIERS.COMMON)
        {
            counterGacha_Common++;
        }
        else if (mIcon[(int)ID].gachaTier == TIERS.UNCOMMON)
        {
            counterGacha_Uncommon++;
        }
        else if (mIcon[(int)ID].gachaTier == TIERS.RARE)
        {
            counterGacha_Rare++;
        }
        else if (mIcon[(int)ID].gachaTier == TIERS.LEGENDARY)
        {
            counterGacha_Legendary++;
        }
        else if (mIcon[(int)ID].gachaTier == TIERS.BUY)
        {
            counterBuyable++;
        }
    }