Пример #1
0
    /*
     * void OnGUI()
     * {
     *  if (!PokerObserver.Game.IsMainPlayerInGame && PokerObserver.Game.MainPlayer != null && PokerObserver.Game.MainPlayer.isMaster)
     *  {
     *      if (GUI.Button(new Rect(0, 150, Screen.width - Screen.width * 0.9f, 35f), "TEST MODE"))
     *          TestModeGUI.Create(ActionRequestOrderHand);
     *  }
     * }
     */
    public void ActionRequestOrderHand(Dictionary <string, int[]> obj)
    {
        foreach (var item in obj.Keys)
        {
            Logger.Log("========> keys" + item + " --- value lenght " + obj[item].Length);
            foreach (var items in obj[item])
            {
                Logger.Log("========> id" + items);
            }
        }
        Dictionary <string, int[]> dictHand = obj;

        if (dictHand.ContainsKey(TestModeGUI.KEY_COMUTITY_CARD))
        {
            Dictionary <string, int[]> comunityCard = new Dictionary <string, int[]>();
            APIPokerGame.GetOrderCommunity(dictHand[TestModeGUI.KEY_COMUTITY_CARD]);
            dictHand.Remove(TestModeGUI.KEY_COMUTITY_CARD);
        }
        APIPokerGame.GetOrderHand(dictHand);
    }
Пример #2
0
 public void StandUp()
 {
     APIPokerGame.StandUp();
 }
Пример #3
0
 public void AutoSitDown()
 {
     APIPokerGame.AutoSitDown();
 }
Пример #4
0
 public void Request(PokerRequestPlay type, double value)
 {
     APIPokerGame.PlayRequest(type, value);
 }
Пример #5
0
 public void SitDown(int slotServer, double betting, bool isAutoBuy)
 {
     APIPokerGame.SitDown(slotServer, betting, isAutoBuy);
 }