示例#1
0
        public static string BonusTypeToName(eBonusType bonusType)
        {
            string bonusName = "None";

            switch (bonusType)
            {
            case Guild.eBonusType.ArtifactXP:
                bonusName = "Artifact XP";
                break;

            case Guild.eBonusType.BountyPoints:
                bonusName = "Bounty Points";
                break;

            case Guild.eBonusType.CraftingHaste:
                bonusName = "Crafting Speed";
                break;

            case Guild.eBonusType.Experience:
                bonusName = "PvE Experience";
                break;

            case Guild.eBonusType.MasterLevelXP:
                bonusName = "Master Level XP";
                break;

            case Guild.eBonusType.RealmPoints:
                bonusName = "Realm Points";
                break;
            }

            return(bonusName);
        }
示例#2
0
        public static string BonusTypeToName(eBonusType bonusType)
        {
            string bonusName = "None";

            switch (bonusType)
            {
                case Guild.eBonusType.ArtifactXP:
                    bonusName = "Artifact XP";
                    break;
                case Guild.eBonusType.BountyPoints:
                    bonusName = "Bounty Points";
                    break;
                case Guild.eBonusType.CraftingHaste:
                    bonusName = "Crafting Speed";
                    break;
                case Guild.eBonusType.Experience:
                    bonusName = "PvE Experience";
                    break;
                case Guild.eBonusType.MasterLevelXP:
                    bonusName = "Master Level XP";
                    break;
                case Guild.eBonusType.RealmPoints:
                    bonusName = "Realm Points";
                    break;
            }

            return bonusName;
        }
示例#3
0
 public void SetType(eBonusType type)
 {
     ItemType = type;
 }