Example #1
0
        //---------------------------------------------------------------------
        // Cell->Cell的请求
        async Task ICellPlayer.s2sBotEnterWorld(string player_etguid)
        {
            NewPlayerInfo new_player_info = new NewPlayerInfo();

            new_player_info.account_id     = "";
            new_player_info.account_name   = "";
            new_player_info.gender         = true;
            new_player_info.is_bot         = true;
            new_player_info.et_player_guid = player_etguid;

            var grain = GF.GetGrain <ICellPlayer>(new Guid(player_etguid));
            await grain.c2sEnterWorld(new_player_info);
        }