Beispiel #1
0
    public void OnBetPanelClose(ModelPanelCloseResult res)
    {
        UIAuctionPanel panel = UIGamePanel.GetPanel <UIAuctionPanel>(PanelType.AUCTION_PANEL);

        if (res == ModelPanelCloseResult.OK)
        {
            Sh.Out.Send("make bet " + panel.CurrentBet + "; god: <" + panel.GodName + ">");
        }
    }
 public static void CloseActivePanel(string methodName, ModelPanelCloseResult result)
 {
     parentPanel.SendMessage(methodName, result);
     CloseActivePanel();
 }