Пример #1
0
    //-------------------------------------------------------------------------
    public Entity getEtPlayerMirrorById(byte actorid_indesktop)
    {
        Entity et_playermirror = null;

        MapAllPlayer1.TryGetValue(actorid_indesktop, out et_playermirror);
        return(et_playermirror);
    }
Пример #2
0
    //-------------------------------------------------------------------------
    public void logicScene2Render(uint et_player_rpcid, List <string> vec_param)
    {
        Entity et_actormirror = null;

        MapAllPlayer1.TryGetValue(1, out et_actormirror);
        if (et_actormirror == null)
        {
            return;
        }

        var grain_desktop = Entity.getUserData <GrainCellDesktop>();
        var grain_player  = grain_desktop.GF.GetGrain <ICellPlayer>(new Guid(et_actormirror.Guid));

        grain_player.s2sDesktop2Player(vec_param);
    }