Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.robrua.orianna.type.core.match;
  
  import java.util.List;
  
  
 public class MatchTeam extends OriannaObject<com.robrua.orianna.type.dto.match.Team> {
     private static final long serialVersionUID = 4826210355495078925L;
     private List<BannedChampionbans;

    

Parameters:
data the underlying dto
 
     public MatchTeam(final com.robrua.orianna.type.dto.match.Team data) {
         super(datacom.robrua.orianna.type.dto.match.Team.class);
     }

    
If game was draft mode, contains banned champion data

Returns:
banned champion data
 
     public List<BannedChampiongetBans() {
         if( == null) {
              = new ArrayList<>();
             for(final com.robrua.orianna.type.dto.match.BannedChampion ban : .getBans()) {
                 .add(new BannedChampion(ban));
             }
         }
 
         return Collections.unmodifiableList();
     }

    
Number of times the team killed baron

Returns:
number of times the team killed baron
 
     public int getBaronKills() {
         return super.getInteger(.getBaronKills());
     }

    
If game was a dominion game, specifies the points the team had at game end

Returns:
the points the team had at game end
 
     public long getDominionVictoryScore() {
         return super.getLong(.getDominionVictoryScore());
     }

    
Number of times the team killed dragon

Returns:
number of times the team killed dragon
 
     public int getDragonKills() {
         return super.getInteger(.getDragonKills());
     }

    
Flag indicating whether or not the team got the first baron kill

Returns:
whether or not the team got the first baron kill
 
     public boolean getFirstBaron() {
         return super.getBoolean(.getFirstBaron());
     }

    
Flag indicating whether or not the team got first blood

Returns:
whether or not the team got first blood
 
     public boolean getFirstBlood() {
         return super.getBoolean(.getFirstBlood());
     }

    
Flag indicating whether or not the team got the first dragon kill

Returns:
whether or not the team got the first dragon kill
 
     public boolean getFirstDragon() {
         return super.getBoolean(.getFirstDragon());
     }

    
Flag indicating whether or not the team destroyed the first inhibitor

Returns:
whether or not the team destroyed the first inhibitor
 
     public boolean getFirstInhibitor() {
         return super.getBoolean(.getFirstInhibitor());
    }

    
Flag indicating whether or not the team destroyed the first tower

Returns:
whether or not the team destroyed the first tower
    public boolean getFirstTower() {
        return super.getBoolean(.getFirstTower());
    }

    
Number of inhibitors the team destroyed

Returns:
number of inhibitors the team destroyed
    public int getInhibitorKills() {
        return super.getInteger(.getInhibitorKills());
    }

    
The side that this team played

Returns:
the side that this team played
    public Side getSide() {
        return Side.forID(super.getInteger(.getTeamId()));
    }

    
Number of towers the team destroyed

Returns:
number of towers the team destroyed
    public int getTowerKills() {
        return super.getInteger(.getTowerKills());
    }

    
Number of times the team killed vilemaw

Returns:
number of times the team killed vilemaw
    public int getVilemawKills() {
        return super.getInteger(.getVilemawKills());
    }

    
Flag indicating whether or not the team won

Returns:
whether or not the team won
    public boolean getWinner() {
        return super.getBoolean(.getWinner());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "MatchTeam (" + getSide() + ")";
    }
New to GrepCode? Check out our FAQ X