/* * 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); }
public void StandUp() { APIPokerGame.StandUp(); }
public void AutoSitDown() { APIPokerGame.AutoSitDown(); }
public void Request(PokerRequestPlay type, double value) { APIPokerGame.PlayRequest(type, value); }
public void SitDown(int slotServer, double betting, bool isAutoBuy) { APIPokerGame.SitDown(slotServer, betting, isAutoBuy); }