示例#1
0
        //---------------------------------------------------------------------
        // 玩家进入桌子
        Task <DesktopData> ICellDesktop.s2sPlayerEnter(DesktopRequestPlayerEnter request_enter,
                                                       EntityData etdata_playermirror)
        {
            var co_desktop = EtDesktop.getComponent <CellDesktop <DefDesktop> >();

            return(co_desktop.s2sPlayerEnter(request_enter, etdata_playermirror));
        }
示例#2
0
        //---------------------------------------------------------------------
        Task _save()
        {
            if (EtDesktop != null)
            {
                var co_desktop = EtDesktop.getComponent <CellDesktop <DefDesktop> >();
                return(co_desktop.save());
            }

            return(TaskDone.Done);
        }
示例#3
0
        //---------------------------------------------------------------------
        // 获取桌子信息
        Task <DesktopInfo> ICellDesktop.s2sGetDesktopInfo()
        {
            var co_desktop = EtDesktop.getComponent <CellDesktop <DefDesktop> >();

            return(co_desktop.s2sGetDesktopInfo());
        }
示例#4
0
        //---------------------------------------------------------------------
        // 初始化桌子信息
        Task ICellDesktop.s2sSetupDesktop(DesktopInfo desktop_info)
        {
            var co_desktop = EtDesktop.getComponent <CellDesktop <DefDesktop> >();

            return(co_desktop.s2sSetupDesktop(desktop_info));
        }
示例#5
0
        //---------------------------------------------------------------------
        // 玩家操作请求
        Task ICellDesktop.s2sPlayerActionRequest(string player_etguid, List <string> vec_param)
        {
            var co_desktop = EtDesktop.getComponent <CellDesktop <DefDesktop> >();

            return(co_desktop.s2sPlayerActionRequest(player_etguid, vec_param));
        }
示例#6
0
        //---------------------------------------------------------------------
        // 玩家本轮操作取消托管
        Task ICellDesktop.s2sPlayerCancelAutoAction(string player_etguid)
        {
            var co_desktop = EtDesktop.getComponent <CellDesktop <DefDesktop> >();

            return(co_desktop.s2sPlayerCancelAutoAction(player_etguid));
        }
示例#7
0
        //---------------------------------------------------------------------
        // 桌子内聊天广播
        Task ICellDesktop.s2sDesktopChat(ChatMsgRecv msg)
        {
            var co_desktop = EtDesktop.getComponent <CellDesktop <DefDesktop> >();

            return(co_desktop.s2sDesktopChat(msg));
        }
示例#8
0
        //---------------------------------------------------------------------
        // 玩家离开桌子
        Task <DesktopPlayerLeaveInfo> ICellDesktop.s2sPlayerLeave(string player_etguid)
        {
            var co_desktop = EtDesktop.getComponent <CellDesktop <DefDesktop> >();

            return(co_desktop.s2sPlayerLeave(player_etguid));
        }