ratz/src/services/storage/dynamousers/module_reputation.go

type Reputation

func (r *Reputation) CurrentReputationTag() string {}

func (r *Reputation) CurrentReputation() int {}

// GainReasons returns a map of reasons and the amount of reputation gained from them
func (r *Reputation) GainReasons() (reason map[string]int) {}

func roundFloat(val float64, precision uint) float64 {}

func (r *Reputation) calculateMultiplier() {}

func (r *Reputation) RepMultiplier() float64 {}

func (r *Reputation) AddReputation(rep int, reason string) {}

func (r *Reputation) DecreaseReputation(rep int, reason string) {}

func (r *Reputation) TodaysReputationGain() int {}

func (r *Reputation) TodaysReputationGainNet() int {}

func (r *Reputation) TodaysReputationDecay() int {}

func (r *Reputation) PurgeTodaysReputationGains() {}

func (r *Reputation) EffectOnRatzMood() int {}

func (r *Reputation) EffectOnRatzMoodToday() (reasons map[string]int, total int) {}

func (r *Reputation) DecreaseRatzMood(reason string, amount int) {}

func (r *Reputation) ImproveRatzMood(reason string, amount int) {}

func (r *Reputation) AcceptChallenge() {}

func (r *Reputation) LastChallenge() time.Time {}

func (r *Reputation) MakeChallenge() {}

func (r *Reputation) LastWin() time.Time {}

func (r *Reputation) LastLoss() time.Time {}

func (r *Reputation) Wins() int {}

func (r *Reputation) RecordChampionshipWin(claimedTitle bool) {}

func (r *Reputation) RecordChampionshipDefeat(lostTitle bool) {}

func (r *Reputation) LongestReign() time.Duration {}

var repLabels

func labelForRepScore(repscore int) string {}

func (r *Reputation) getRepLabel() string {}

func (r *Reputation) assignRepLabel() {}

func (r *Reputation) ChallengesMade() int {}

func (r *Reputation) ChallengesAccepted() int {}