servuo/Scripts/Services/CommunityCollections/ICollection.cs
2020-04-14 14:04:34 -04:00

51 lines
1.2 KiB
C#

using Server.Mobiles;
using System.Collections.Generic;
namespace Server
{
public enum Collection
{
VesperMuseum,
MoonglowZoo,
// Britain library
MaceAndBlade,
FoldedSteel,
Trades,
ArtsSection,
SongsOfNote,
UnderstandingAnimals,
LightAndMight,
OilAndOubliette,
WizardsCompendium,
BritanniaWaters,
PastTreasures,
SkeletonKey,
// Factions
Minax,
CouncilOfMages,
TrueBritannians,
Shadowlords
}
public interface IComunityCollection
{
Collection CollectionID { get; }
long Points { get; set; }
long CurrentTier { get; }
long PreviousTier { get; }
long StartTier { get; set; }
long NextTier { get; set; }
long DailyDecay { get; set; }
int Tier { get; }
int MaxTier { get; }
List<CollectionItem> Donations { get; }
List<CollectionItem> Rewards { get; }
void Donate(PlayerMobile player, CollectionItem item, int amount);
void Reward(PlayerMobile player, CollectionItem reward, int hue);
void DonatePet(PlayerMobile player, BaseCreature pet);
}
}