public static string ReparseId(string input) { int id1 = input.IndexOf("%"); string id = input[id1 + 1].ToString(); PrizeType pType = (PrizeType)Convert.ToInt32(id); string text = input.Replace("%" + id + "%", ContestManager.GetPrizeName(pType)); return(text); }
private string GeneratePrizeCode(Money Value) { return(" <b>" + ContestManager.GetPrizeProperObject(RewardType, Value).ToString() + "</b> [" + ContestManager.GetPrizeName(RewardType) + "]"); }