public Cote(Cotes cotes, GenericReader reader) { this.cotes = cotes; int version = reader.ReadInt(); xp = reader.ReadInt(); cote = (ValeurCote)reader.ReadInt(); }
public static int LimiteMaximale(ValeurCote cote) { switch (cote) { default: case ValeurCote.Normal: return(0); case ValeurCote.Passable: return(100); case ValeurCote.Questionnable: return(202); case ValeurCote.Interdit: return(302); } }
public Cote(Cotes cotes, ValeurCote cote) { this.cotes = cotes; this.cote = cote; xp = ReductionExperience(); }
public void OctroyerCote(ValeurCote cote, Mobile from, int message) { cotes.Add(new Cote(this, cote)); raisons.Add(new RaisonCote(from, message)); LastCotation = DateTime.Now; }