private string GetBuyButtonTooltipMessage(BuyButtonState state)
    {
        switch (state)
        {
        case BuyButtonState.DISABLED_NOT_ENOUGH_GOLD:
            return(GameStrings.Get("GLUE_STORE_FAIL_NOT_ENOUGH_GOLD"));

        case BuyButtonState.DISABLED_FEATURE:
            return(GameStrings.Get("GLUE_STORE_DISABLED"));

        case BuyButtonState.DISABLED_OWNED:
            return(this.GetOwnedTooltipString());
        }
        return(GameStrings.Get("GLUE_TOOLTIP_BUTTON_DISABLED_DESC"));
    }
Ejemplo n.º 2
0
 public void ShowBuyTooltip(TooltipZone tooltipZone, string tooltipText, BuyButtonState buttonState)
 {
     object[] objArray1 = new object[] { tooltipZone, tooltipText, buttonState };
     base.method_8("ShowBuyTooltip", objArray1);
 }
Ejemplo n.º 3
0
 public string GetBuyButtonTooltipMessage(BuyButtonState state)
 {
     object[] objArray1 = new object[] { state };
     return(base.method_13("GetBuyButtonTooltipMessage", objArray1));
 }
Ejemplo n.º 4
0
 public void SetMoneyButtonState(BuyButtonState state)
 {
     object[] objArray1 = new object[] { state };
     base.method_8("SetMoneyButtonState", objArray1);
 }