public void Set(int price) { unsubscribeEvents(); this.price = price; priceStr = PPData.FormatCost(price); checkReferences(); ShowPurchasable(); subscribeEvents(); }
private string GotoZAufmotzen(PPData inPPData, string inText) { if (Math.Abs(inPPData.Value - Math.Round(inPPData.Value)) < 0.001) { return(inText + ".0"); } else { return(inText); } }
// Verbindet unsere eigenen PP-Wörter mit der PP-Datenbank public override void LoadNewPPData() { base.LoadNewPPData(); PROGRAMM_ERSTELLER = AddPPData("PROGRAMM_ERSTELLER"); WKLISTE_ZEILE = AddPPData("WKLISTE_ZEILE"); }
public 3GPokemonData( PokemonData pkm ) : base(pkm) { //Determine PalParkData - Will the proper information be present in the PKM itself? (Check Nicknames with Korean pokes) m_PPData = PPData.GetPalParkData( this ); }