daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static object TableStatus(TableStatus ts)
  2.         {
  3.             dynamic data = new ExpandoObject();
  4.             data.IsPlaying = ts.IsPlaying;
  5.             data.ActionIdx = ts.ActionIdx;
  6.             data.DealerIdx = ts.DIdx;
  7.             data.SbIdx = ts.SbIdx;
  8.             data.BbIdx = ts.BbIdx;
  9.             data.Pool = ts.PoolList;
  10.             data.BoardCards = Cards(ts.BoardList);
  11.             data.TableId = ts.Tid;
  12.             data.Stage = ts.Stage.ToString();
  13.             data.IsFinalTable = ts.IsFinalTable;
  14.  
  15.             List<object> SeatStatuses = new List<object>();
  16.             data.SeatStatuses = SeatStatuses;
  17.             foreach (var ss in ts.SeatList)
  18.                 SeatStatuses.Add(SeatStatus(ss));
  19.  
  20.             return data;
  21.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top