{"size": 637, "ext": "js", "max_stars_repo_path": "content/game/panelprincipal.js", "max_stars_repo_name": "cusquiskas/interestelar", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "content/game/panelprincipal.js", "max_issues_repo_name": "cusquiskas/interestelar", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "content/game/panelprincipal.js", "max_forks_repo_name": "cusquiskas/interestelar", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.5925925926, "max_line_length": 68, "alphanum_fraction": 0.52433281}
var panelprincipal = class {
    constructor (mod, obj) {
        console.log('panelprincipal.js -> constructor');
        let modulo = mod;
        let object = obj;
        this.addEventos(modulo);
        let form = modulo.Forms['sesion'];
        form.set({'JGD_JUGADOR':sessionStorage.getItem('id')});
        form.executeForm();
    };

    addEventos () {

    };

    sesion (s,d,e) {
        if (!s) {
            validaErroresCBK(d.root||d);
            sessionStorage.setItem('id','');
            top.location.reload();
        } else {
            sessionStorage.setItem('id',d.root.Detalle.JGD_JUGADOR);
        }
    }

}
