public void HubCallSortHandCards() { _hub.Call(SRSCallConsts.SORT_HAND_CARDS, (Hub hub, ClientMessage originalMessage, ResultMessage result) => { if (OnSRSHubCallEvent != null) { OnSRSHubCallEvent.Invoke(SRSCallConsts.SORT_HAND_CARDS, originalMessage, result); } }); }
public void HubCallGetLobbyInfo() { _hub.Call(SRSCallConsts.GET_LOBBY_INFO, (Hub hub, ClientMessage originalMessage, ResultMessage result) => { if (OnSRSHubCallEvent != null) { OnSRSHubCallEvent.Invoke(SRSCallConsts.GET_LOBBY_INFO, originalMessage, result); } }); }
public void HubCallBaoSam(bool accepted) { _hub.Call(SRSCallConsts.BAO_SAM, (Hub hub, ClientMessage originalMessage, ResultMessage result) => { if (OnSRSHubCallEvent != null) { OnSRSHubCallEvent.Invoke(SRSCallConsts.BAO_SAM, originalMessage, result); } }, accepted); }
public void HubCallBoLuot() { _hub.Call(SRSCallConsts.BO_LUOT, (Hub hub, ClientMessage originalMessage, ResultMessage result) => { if (OnSRSHubCallEvent != null) { OnSRSHubCallEvent.Invoke(SRSCallConsts.BO_LUOT, originalMessage, result); } }); }
public void HubCallStartGame() { _hub.Call(SRSCallConsts.START_GAME, (Hub hub, ClientMessage originalMessage, ResultMessage result) => { if (OnSRSHubCallEvent != null) { OnSRSHubCallEvent.Invoke(SRSCallConsts.START_GAME, originalMessage, result); } }); }
public void HubCallDanhBai(List <int> cardValues) { _hub.Call(SRSCallConsts.DANH_BAI, (Hub hub, ClientMessage originalMessage, ResultMessage result) => { if (OnSRSHubCallEvent != null) { OnSRSHubCallEvent.Invoke(SRSCallConsts.DANH_BAI, originalMessage, result); } }, cardValues); }
public void HubCallUnregisterLeaveRoom() { _hub.Call(SRSCallConsts.UNREGISTER_LEAVE_ROOM, (Hub hub, ClientMessage originalMessage, ResultMessage result) => { if (OnSRSHubCallEvent != null) { OnSRSHubCallEvent.Invoke(SRSCallConsts.UNREGISTER_LEAVE_ROOM, originalMessage, result); } }); }
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); }
public void HubCallJoinRoom(string roomName, string password) { _hub.Call(SRSCallConsts.JOIN_ROOM, (Hub hub, ClientMessage originalMessage, ResultMessage result) => { if (OnSRSHubCallEvent != null) { OnSRSHubCallEvent.Invoke(SRSCallConsts.JOIN_ROOM, originalMessage, result); } }, roomName, password); }
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 HubCallExitLobby() { _hub.Call(SRSCallConsts.EXIT_LOBBY, (Hub hub, ClientMessage originalMessage, ResultMessage result) => { if (OnSRSHubCallEvent != null) { OnSRSHubCallEvent.Invoke(SRSCallConsts.EXIT_LOBBY, originalMessage, result); } }); }