Esempio n. 1
0
 public IAsyncResult send_winner(AsyncCallback callback, object state, API.Competitor competitor, long amount)
 public static void KeyUp(API.Keys key) => api.ThirdParty.KeyUp(key);
Esempio n. 3
0
 public IAsyncResult send_showdown(AsyncCallback callback, object state, API.Competitor competitor, List<API.Card> cards, API.HandDescriptor hand)
Esempio n. 4
0
 public IAsyncResult Begin_winner(AsyncCallback callback, object state, API.Competitor competitor, long amount)
 {
   return send_winner(callback, state, competitor, amount);
 }
Esempio n. 5
0
 public IAsyncResult send_community_card(AsyncCallback callback, object state, API.Card card)
Esempio n. 6
0
 public IAsyncResult Begin_showdown(AsyncCallback callback, object state, API.Competitor competitor, List<API.Card> cards, API.HandDescriptor hand)
 {
   return send_showdown(callback, state, competitor, cards, hand);
 }
Esempio n. 7
0
 public IAsyncResult Begin_competitor_status(AsyncCallback callback, object state, API.Competitor competitor)
 {
   return send_competitor_status(callback, state, competitor);
 }
Esempio n. 8
0
 public IAsyncResult Begin_community_card(AsyncCallback callback, object state, API.Card card)
 {
   return send_community_card(callback, state, card);
 }
Esempio n. 9
0
 public IAsyncResult send_bet_request(AsyncCallback callback, object state, long pot, API.BetLimits limits)
Esempio n. 10
0
 public void send_bet_request(long pot, API.BetLimits limits)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("bet_request", TMessageType.Call, seqid_));
   bet_request_args args = new bet_request_args();
   args.Pot = pot;
   args.Limits = limits;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 11
0
      public long bet_request(long pot, API.BetLimits limits)
      {
        #if !SILVERLIGHT
        send_bet_request(pot, limits);
        return recv_bet_request();

        #else
        var asyncResult = Begin_bet_request(null, null, pot, limits);
        return End_bet_request(asyncResult);

        #endif
      }
Esempio n. 12
0
 public IAsyncResult Begin_bet_request(AsyncCallback callback, object state, long pot, API.BetLimits limits)
 {
   return send_bet_request(callback, state, pot, limits);
 }
 public static void KeyDown(API.Keys key) => api.ThirdParty.KeyDown(key);
Esempio n. 14
0
      public void hole_card(API.Card card)
      {
        #if !SILVERLIGHT
        send_hole_card(card);
        recv_hole_card();

        #else
        var asyncResult = Begin_hole_card(null, null, card);
        End_hole_card(asyncResult);

        #endif
      }
Esempio n. 15
0
      public void competitor_status(API.Competitor competitor)
      {
        #if !SILVERLIGHT
        send_competitor_status(competitor);
        recv_competitor_status();

        #else
        var asyncResult = Begin_competitor_status(null, null, competitor);
        End_competitor_status(asyncResult);

        #endif
      }
Esempio n. 16
0
 public IAsyncResult send_hole_card(AsyncCallback callback, object state, API.Card card)
Esempio n. 17
0
 public IAsyncResult send_competitor_status(AsyncCallback callback, object state, API.Competitor competitor)
Esempio n. 18
0
      public void community_card(API.Card card)
      {
        #if !SILVERLIGHT
        send_community_card(card);
        recv_community_card();

        #else
        var asyncResult = Begin_community_card(null, null, card);
        End_community_card(asyncResult);

        #endif
      }
Esempio n. 19
0
 public void send_competitor_status(API.Competitor competitor)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("competitor_status", TMessageType.Call, seqid_));
   competitor_status_args args = new competitor_status_args();
   args.Competitor = competitor;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 20
0
 public void send_community_card(API.Card card)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("community_card", TMessageType.Call, seqid_));
   community_card_args args = new community_card_args();
   args.Card = card;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 21
0
 public IAsyncResult Begin_bet(AsyncCallback callback, object state, API.Competitor competitor, API.Bet bet)
 {
   return send_bet(callback, state, competitor, bet);
 }
Esempio n. 22
0
      public void showdown(API.Competitor competitor, List<API.Card> cards, API.HandDescriptor hand)
      {
        #if !SILVERLIGHT
        send_showdown(competitor, cards, hand);
        recv_showdown();

        #else
        var asyncResult = Begin_showdown(null, null, competitor, cards, hand);
        End_showdown(asyncResult);

        #endif
      }
Esempio n. 23
0
      public void bet(API.Competitor competitor, API.Bet bet)
      {
        #if !SILVERLIGHT
        send_bet(competitor, bet);
        recv_bet();

        #else
        var asyncResult = Begin_bet(null, null, competitor, bet);
        End_bet(asyncResult);

        #endif
      }
Esempio n. 24
0
 public void send_showdown(API.Competitor competitor, List<API.Card> cards, API.HandDescriptor hand)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("showdown", TMessageType.Call, seqid_));
   showdown_args args = new showdown_args();
   args.Competitor = competitor;
   args.Cards = cards;
   args.Hand = hand;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 25
0
 public IAsyncResult send_bet(AsyncCallback callback, object state, API.Competitor competitor, API.Bet bet)
Esempio n. 26
0
      public void winner(API.Competitor competitor, long amount)
      {
        #if !SILVERLIGHT
        send_winner(competitor, amount);
        recv_winner();

        #else
        var asyncResult = Begin_winner(null, null, competitor, amount);
        End_winner(asyncResult);

        #endif
      }
Esempio n. 27
0
 public void send_bet(API.Competitor competitor, API.Bet bet)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("bet", TMessageType.Call, seqid_));
   bet_args args = new bet_args();
   args.Competitor = competitor;
   args.Bet = bet;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 28
0
 public void send_winner(API.Competitor competitor, long amount)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("winner", TMessageType.Call, seqid_));
   winner_args args = new winner_args();
   args.Competitor = competitor;
   args.Amount = amount;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
 public static void KeyPress(API.Keys key) => api.ThirdParty.KeyPress(key);