public void HubCallPlayNow(int minBet, SamMoneyType moneyType)
 {
     _hub.Call(SRSCallConsts.PLAY_NOW, (Hub hub, ClientMessage originalMessage, ResultMessage result) => {
         if (OnSRSHubCallEvent != null)
         {
             OnSRSHubCallEvent.Invoke(SRSCallConsts.PLAY_NOW, originalMessage, result);
         }
     }, minBet, (int)moneyType);
 }
 public void HubCallCreateRoom(int minBet, SamMoneyType moneyType, SamRule gameRule, string password, bool solo)
 {
     _hub.Call(SRSCallConsts.CREATE_ROOM, (Hub hub, ClientMessage originalMessage, ResultMessage result) => {
         if (OnSRSHubCallEvent != null)
         {
             OnSRSHubCallEvent.Invoke(SRSCallConsts.CREATE_ROOM, originalMessage, result);
         }
     }, minBet, (int)moneyType, (int)gameRule, password, solo);
 }
예제 #3
0
 public List <SRSSamLobbyItem> GetRoomByMoneyType(SamMoneyType mType)
 {
     return(rooms.Where(a => a.Item4 == (int)mType).OrderBy(a => a.Item1).ToList());
 }