plugins
Interface ILineUp

All Known Implementing Classes:
Aufstellung, AufstellungOld

public interface ILineUp

Interface for LineUp Access Once LineUp has been changed by plugin , you need to call IGUI.doLineupRefresh() to let HO refresh internal lineup screen


Field Summary
static byte AW_MF_ST
          Order for lineup assistent
static byte AW_ST_MF
          TODO Missing Parameter Documentation
static java.lang.String DEFAULT_NAME
          DEfaultNAme for LineUP
static byte MF_AW_ST
          TODO Missing Parameter Documentation
static byte MF_ST_AW
          TODO Missing Parameter Documentation
static int NO_HRF_VERBINDUNG
          FLAG LineUp is independend to a hrf
static byte ST_AW_MF
          TODO Missing Parameter Documentation
static byte ST_MF_AW
          TODO Missing Parameter Documentation
static byte SYS_343
          TODO Missing Parameter Documentation
static byte SYS_352
          TODO Missing Parameter Documentation
static byte SYS_433
          Systems
static byte SYS_442
          TODO Missing Parameter Documentation
static byte SYS_451
          TODO Missing Parameter Documentation
static byte SYS_532
          TODO Missing Parameter Documentation
static byte SYS_541
          TODO Missing Parameter Documentation
static byte SYS_MURKS
          TODO Missing Parameter Documentation
 
Method Summary
 void checkAufgestellteSpieler()
          check if all player in lineup are still in team
 void doAufstellung(java.util.Vector spieler, byte reihenfolge, boolean mitForm, boolean idealPosFirst, boolean ignoreVerletzung, boolean ignoreSperren, float wetterBonus, int wetter)
          start auto-lineup
 byte ermittelSystem()
          determinate current system
 float getAttackSTK()
          get Value for AttackOnWings/Middle
 float getAttackSTK(java.util.Vector spieler)
          Deprecated. : no more support for supplied player vector
 int getAttitude()
          Getter for property m_iAttitude.
 float getAvgExpierence()
          returns average Expierence of all players in lineup
 float getAWTeamStk(java.util.Vector spieler, boolean mitForm)
          get Value for Defense
 int[] getBestElferKicker()
          get PlayerId for best penalty shooter in lineup
 double getCentralAttackRating()
          Predicts Central Attack-Rating
 double getCentralDefenseRating()
          Predicts cd-Rating
 byte getEffectivePos4PositionID(int positionsid)
          gets effective Position for a specified Position.
 float getGesamtStaerke(java.util.Vector spieler, boolean mitForm)
          get Value for Teamstrength
 int getHATStats()
          Calc HatStats for currentlineup
 short getHeimspiel()
          Getter for property m_sHeimspiel.
 int getIntValue4Rating(double rating)
          Creates a int from 1-80 for a Rating, to use it at IHelper.getNameForBewertung()
 int getKapitaen()
          getPlayerId of Capitan
 int getKicker()
          get ID for Kicker
 float getKonterSTK()
          get Value for CounterAttack
 float getKonterSTK(java.util.Vector spieler)
          Deprecated. : no more support for supplied player vector
 double getLeftAttackRating()
          Predicts LeftAttack-Rating
 double getLeftDefenseRating()
          Predicts ld-Rating
 float getLoddarStats()
          Calc LoddarStats for currentlineup
 float getMFTeamStk(java.util.Vector spieler, boolean mitForm)
          get Value for Midfield
 double getMidfieldRating()
          Predicts MF-Rating
 ISpieler getPlayerByPositionID(int positionsid)
          gets a Player for given Position
 float getPressingSTK()
          get Value for Pressing
 float getPressingSTK(java.util.Vector spieler)
          Deprecated. : no more support for supplied player vector
 double getRightAttackRating()
          Predicts Right-Attack-Rating
 double getRightDefenseRating()
          Predicts rd-Rating
 float getSTTeamStk(java.util.Vector spieler, boolean mitForm)
          get Value for Attack
 java.lang.String getSystemName(byte system)
          Get Name for specific System
 byte getTactic4PositionID(int positionsid)
          gets tactic for a specified Position
 float getTacticLevel(int type)
          DOCUMENT ME!
 int getTacticType()
          Getter for property m_iTacticType.
 int getTeamErfahrung4AktuellesSystem()
          get Value for expierience of current System
 float getTWTeamStk(java.util.Vector spieler, boolean mitForm)
          get Value for Keeper
 boolean isSpielerAufgestellt(int spielerId)
          check if player is in lineup
 boolean isSpielerInAnfangsElf(int spielerId)
          check if player is in lineup and plays from beginning of match
 boolean isSpielerInReserve(int spielerId)
          check if player is in lineup and is reserve
 void load(java.lang.String name)
          loads Lineup with given Name
 void resetAufgestellteSpieler()
          clear lineup
 void save(java.lang.String name)
          saves lineup under given Name in DB
 void setAttitude(int m_iAttitude)
          Setter for property m_iAttitude.
 void setAutoKapitaen(java.util.Vector spieler)
          set Caption via assistent
 void setAutoKicker(java.util.Vector spieler)
          assistent sets Kicker
 void setHeimspiel(short m_sHeimspiel)
          Setter for property m_sHeimspiel.
 void setKapitaen(int m_iKapitaen)
          setPlayerID for Capitan
 void setKicker(int m_iKicker)
          set ID for Kicker
 byte setSpielerAtPosition(int positionsid, int spielerid, byte tactic)
          sets a Player at given Positione with given tactic example setSpielerAtPosition ( ISpielerPosition.insideMid2, aPlayerID, ISpielerPosition.OFFENSIV ); sets a player in Midfield Pos 2 as offensive
 void setTacticType(int m_iTacticType)
          Setter for property m_iTacticType.
 

Field Detail

SYS_433

static final byte SYS_433
Systems

See Also:
Constant Field Values

SYS_442

static final byte SYS_442
TODO Missing Parameter Documentation

See Also:
Constant Field Values

SYS_532

static final byte SYS_532
TODO Missing Parameter Documentation

See Also:
Constant Field Values

SYS_541

static final byte SYS_541
TODO Missing Parameter Documentation

See Also:
Constant Field Values

SYS_352

static final byte SYS_352
TODO Missing Parameter Documentation

See Also:
Constant Field Values

SYS_343

static final byte SYS_343
TODO Missing Parameter Documentation

See Also:
Constant Field Values

SYS_451

static final byte SYS_451
TODO Missing Parameter Documentation

See Also:
Constant Field Values

SYS_MURKS

static final byte SYS_MURKS
TODO Missing Parameter Documentation

See Also:
Constant Field Values

DEFAULT_NAME

static final java.lang.String DEFAULT_NAME
DEfaultNAme for LineUP

See Also:
Constant Field Values

NO_HRF_VERBINDUNG

static final int NO_HRF_VERBINDUNG
FLAG LineUp is independend to a hrf

See Also:
Constant Field Values

AW_MF_ST

static final byte AW_MF_ST
Order for lineup assistent

See Also:
Constant Field Values

AW_ST_MF

static final byte AW_ST_MF
TODO Missing Parameter Documentation

See Also:
Constant Field Values

MF_ST_AW

static final byte MF_ST_AW
TODO Missing Parameter Documentation

See Also:
Constant Field Values

MF_AW_ST

static final byte MF_AW_ST
TODO Missing Parameter Documentation

See Also:
Constant Field Values

ST_AW_MF

static final byte ST_AW_MF
TODO Missing Parameter Documentation

See Also:
Constant Field Values

ST_MF_AW

static final byte ST_MF_AW
TODO Missing Parameter Documentation

See Also:
Constant Field Values
Method Detail

getAWTeamStk

float getAWTeamStk(java.util.Vector spieler,
                   boolean mitForm)
get Value for Defense

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation
mitForm - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getAttackSTK

float getAttackSTK()
get Value for AttackOnWings/Middle

Returns:
TODO Missing Return Method Documentation

getAttackSTK

float getAttackSTK(java.util.Vector spieler)
Deprecated. : no more support for supplied player vector

get Value for AttackOnWings/Middle

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

setAttitude

void setAttitude(int m_iAttitude)
Setter for property m_iAttitude.

Parameters:
m_iAttitude - New value of property m_iAttitude.

getAttitude

int getAttitude()
Getter for property m_iAttitude.

Returns:
Value of property m_iAttitude.

setAutoKapitaen

void setAutoKapitaen(java.util.Vector spieler)
set Caption via assistent

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation

setAutoKicker

void setAutoKicker(java.util.Vector spieler)
assistent sets Kicker

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation

getAvgExpierence

float getAvgExpierence()
returns average Expierence of all players in lineup

Returns:
TODO Missing Return Method Documentation

getBestElferKicker

int[] getBestElferKicker()
get PlayerId for best penalty shooter in lineup

Returns:
TODO Missing Return Method Documentation

getCentralAttackRating

double getCentralAttackRating()
Predicts Central Attack-Rating

Returns:
TODO Missing Return Method Documentation

getCentralDefenseRating

double getCentralDefenseRating()
Predicts cd-Rating

Returns:
TODO Missing Return Method Documentation

getEffectivePos4PositionID

byte getEffectivePos4PositionID(int positionsid)
gets effective Position for a specified Position. example position id 3 = inner Defense + tactic offense = effective : offense ID

Parameters:
positionsid - taken from ISpielerPosition (Keeper(1) to ausgewechselt(19) )
Returns:
byte from ISpielerPosition ( Normal(0) to ZUS_INNENV(7) )

getGesamtStaerke

float getGesamtStaerke(java.util.Vector spieler,
                       boolean mitForm)
get Value for Teamstrength

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation
mitForm - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getHATStats

int getHATStats()
Calc HatStats for currentlineup

Returns:
TODO Missing Return Method Documentation

setHeimspiel

void setHeimspiel(short m_sHeimspiel)
Setter for property m_sHeimspiel.

Parameters:
m_sHeimspiel - New value of property m_sHeimspiel.

getHeimspiel

short getHeimspiel()
Getter for property m_sHeimspiel.

Returns:
Value of property m_sHeimspiel.

getIntValue4Rating

int getIntValue4Rating(double rating)
Creates a int from 1-80 for a Rating, to use it at IHelper.getNameForBewertung()

Parameters:
rating - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

setKapitaen

void setKapitaen(int m_iKapitaen)
setPlayerID for Capitan

Parameters:
m_iKapitaen - TODO Missing Constructuor Parameter Documentation

getKapitaen

int getKapitaen()
getPlayerId of Capitan

Returns:
TODO Missing Return Method Documentation

setKicker

void setKicker(int m_iKicker)
set ID for Kicker

Parameters:
m_iKicker - TODO Missing Constructuor Parameter Documentation

getKicker

int getKicker()
get ID for Kicker

Returns:
TODO Missing Return Method Documentation

getKonterSTK

float getKonterSTK()
get Value for CounterAttack

Returns:
TODO Missing Return Method Documentation

getKonterSTK

float getKonterSTK(java.util.Vector spieler)
Deprecated. : no more support for supplied player vector

get Value for CounterAttack

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getLeftAttackRating

double getLeftAttackRating()
Predicts LeftAttack-Rating

Returns:
TODO Missing Return Method Documentation

getLeftDefenseRating

double getLeftDefenseRating()
Predicts ld-Rating

Returns:
TODO Missing Return Method Documentation

getLoddarStats

float getLoddarStats()
Calc LoddarStats for currentlineup

Returns:
TODO Missing Return Method Documentation

getMFTeamStk

float getMFTeamStk(java.util.Vector spieler,
                   boolean mitForm)
get Value for Midfield

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation
mitForm - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getMidfieldRating

double getMidfieldRating()
Predicts MF-Rating

Returns:
TODO Missing Return Method Documentation

getPlayerByPositionID

ISpieler getPlayerByPositionID(int positionsid)
gets a Player for given Position

Parameters:
positionsid - taken from ISpielerPosition (Keeper(1) to ausgewechselt(19) )
Returns:
TODO Missing Return Method Documentation

getPressingSTK

float getPressingSTK()
get Value for Pressing

Returns:
TODO Missing Return Method Documentation

getPressingSTK

float getPressingSTK(java.util.Vector spieler)
Deprecated. : no more support for supplied player vector

get Value for Pressing

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getRightAttackRating

double getRightAttackRating()
Predicts Right-Attack-Rating

Returns:
TODO Missing Return Method Documentation

getRightDefenseRating

double getRightDefenseRating()
Predicts rd-Rating

Returns:
TODO Missing Return Method Documentation

getSTTeamStk

float getSTTeamStk(java.util.Vector spieler,
                   boolean mitForm)
get Value for Attack

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation
mitForm - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

setSpielerAtPosition

byte setSpielerAtPosition(int positionsid,
                          int spielerid,
                          byte tactic)
sets a Player at given Positione with given tactic example setSpielerAtPosition ( ISpielerPosition.insideMid2, aPlayerID, ISpielerPosition.OFFENSIV ); sets a player in Midfield Pos 2 as offensive

Parameters:
positionsid - ID of Position ( ex. ISpielerPosition.insideMid2 )
spielerid - Id of Player ( player.getSpielerID() )
tactic - TacticType for Position ( ex. ISpielerPosition.NORMAL )
Returns:
TODO Missing Return Method Documentation

isSpielerAufgestellt

boolean isSpielerAufgestellt(int spielerId)
check if player is in lineup

Parameters:
spielerId - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

isSpielerInAnfangsElf

boolean isSpielerInAnfangsElf(int spielerId)
check if player is in lineup and plays from beginning of match

Parameters:
spielerId - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

isSpielerInReserve

boolean isSpielerInReserve(int spielerId)
check if player is in lineup and is reserve

Parameters:
spielerId - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getSystemName

java.lang.String getSystemName(byte system)
Get Name for specific System

Parameters:
system - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getTWTeamStk

float getTWTeamStk(java.util.Vector spieler,
                   boolean mitForm)
get Value for Keeper

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation
mitForm - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getTactic4PositionID

byte getTactic4PositionID(int positionsid)
gets tactic for a specified Position

Parameters:
positionsid - taken from ISpielerPosition (Keeper(1) to ausgewechselt(19) )
Returns:
byte from ISpielerPosition ( TORWART(0) to AUSGEWECHSELT3(20), UNBESTIMMT==-1 )

getTacticLevel

float getTacticLevel(int type)
DOCUMENT ME!

Parameters:
type - TODO Missing Constructuor Parameter Documentation
Returns:
level for choosen Tactic ( Defs in IMatchDetails )

setTacticType

void setTacticType(int m_iTacticType)
Setter for property m_iTacticType.

Parameters:
m_iTacticType - New value of property m_iTacticType.

getTacticType

int getTacticType()
Getter for property m_iTacticType.

Returns:
Value of property m_iTacticType.

getTeamErfahrung4AktuellesSystem

int getTeamErfahrung4AktuellesSystem()
get Value for expierience of current System

Returns:
-1 for unknown system

checkAufgestellteSpieler

void checkAufgestellteSpieler()
check if all player in lineup are still in team


doAufstellung

void doAufstellung(java.util.Vector spieler,
                   byte reihenfolge,
                   boolean mitForm,
                   boolean idealPosFirst,
                   boolean ignoreVerletzung,
                   boolean ignoreSperren,
                   float wetterBonus,
                   int wetter)
start auto-lineup

Parameters:
spieler - vector of player's ( normally IHOMiniModel.getAllSpieler() )
reihenfolge - ORDER of "teamPart-filling" for assistent logic
mitForm - regard to player form
idealPosFirst - set best Pos first
ignoreVerletzung - TODO Missing Constructuor Parameter Documentation
ignoreSperren - don't regard to red cards
wetterBonus - effect of weather , should be IHOMiniModel.getUserSettings().WetterEffektBonus
wetter - wheather type ( ISpieler.SONNIG)

ermittelSystem

byte ermittelSystem()
determinate current system

Returns:
TODO Missing Return Method Documentation

load

void load(java.lang.String name)
loads Lineup with given Name

Parameters:
name - TODO Missing Constructuor Parameter Documentation

resetAufgestellteSpieler

void resetAufgestellteSpieler()
clear lineup


save

void save(java.lang.String name)
saves lineup under given Name in DB

Parameters:
name - TODO Missing Constructuor Parameter Documentation