Exemple #1
0
    public TableGame(TableSnapshotPacket tableSnapshot)
    {
        this.name = ParamUtil.readStringParam(tableSnapshot.parameters, "N");
        this.setPlayers(ParamUtil.readStringParam(tableSnapshot.parameters, "ArrN"));
        this.mark     = ParamUtil.readIntParam(tableSnapshot.parameters, "M");
        this.type     = ParamUtil.readIntParam(tableSnapshot.parameters, "T");
        this.agmin    = ParamUtil.readIntParam(tableSnapshot.parameters, "AG");
        this.id       = tableSnapshot.tableid;
        this.capacity = tableSnapshot.capacity;
        this.seated   = tableSnapshot.seated;
        this.address  = tableSnapshot.address;

//		Debug.Log(tostring());
    }