public override string ToString() { BaseUtils.FieldBuilder.NewPrefix nl = new BaseUtils.FieldBuilder.NewPrefix(Environment.NewLine + " "); DateTime exp = EliteConfigInstance.InstanceConfig.ConvertTimeToSelectedFromUTC(Expiry); return(BaseUtils.FieldBuilder.Build( "Title:".T(EDTx.CommunityGoal_Title), Title, "System:".T(EDTx.CommunityGoal_System), SystemName, nl, "At:".T(EDTx.CommunityGoal_At), MarketName, "Expires:".T(EDTx.CommunityGoal_Expires), exp, nl, "Not Complete;Complete".T(EDTx.CommunityGoal_NotComplete), IsComplete, "Current Total:".T(EDTx.CommunityGoal_CurrentTotal), CurrentTotal, "Contribution:".T(EDTx.CommunityGoal_Contribution), PlayerContribution, "Num Contributors:".T(EDTx.CommunityGoal_NumContributors), NumContributors, nl, "Player % Band:".T(EDTx.CommunityGoal_Player), PlayerPercentileBand, "Top Rank:".T(EDTx.CommunityGoal_TopRank), TopRankSize, "Not In Top Rank;In Top Rank".T(EDTx.CommunityGoal_NotInTopRank), PlayerInTopRank, nl, "Tier Reached:".T(EDTx.CommunityGoal_TierReached), TierReached, "Bonus:".T(EDTx.CommunityGoal_Bonus), Bonus, "Top Tier Name".T(EDTx.CommunityGoal_TopTierName), TopTierName, "TT. Bonus".T(EDTx.CommunityGoal_TT), TopTierBonus )); }
public override string ToString() { BaseUtils.FieldBuilder.NewPrefix nl = new BaseUtils.FieldBuilder.NewPrefix(Environment.NewLine + " "); DateTime exp = Expiry; if (exp != null && !EliteConfigInstance.InstanceConfig.DisplayUTC) { exp = exp.ToLocalTime(); } return(BaseUtils.FieldBuilder.Build( "Title:", Title, "System:", SystemName, nl, "At:", MarketName, "Expires:", exp, nl, "Not Complete;Complete", IsComplete, "Current Total:", CurrentTotal, "Contribution:", PlayerContribution, "Num Contributors:", NumContributors, nl, "Player % Band:", PlayerPercentileBand, "Top Rank:", TopRankSize, "Not In Top Rank;In Top Rank", PlayerInTopRank, nl, "Tier Reached:", TierReached, "Bonus:", Bonus )); }