C# Class Terraria.IngameOptions

Afficher le fichier Open project: EmuDevs/EDTerraria Class Usage Examples

Méthodes publiques

Свойство Type Description
category int
inBar bool
leftHover int
leftScale float[]
noSound bool
notBar bool
oldLeftHover int
oldRightHover int
rightHover int
rightLock int
rightScale float[]
valuePosition Vector2

Méthodes publiques

Méthode Description
Close ( ) : void
Draw ( Terraria.Main mainInstance, SpriteBatch sb ) : void
DrawLeftSide ( SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float scales, float minscale = 0.7f, float maxscale = 0.8f, float scalespeed = 0.01f ) : bool
DrawRightSide ( SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float scale, float colorScale, Color over = default(Color) ) : bool
DrawValue ( SpriteBatch sb, string txt, int i, float scale, Color over = default(Color) ) : bool
DrawValueBar ( SpriteBatch sb, float scale, float perc ) : float
MouseOver ( ) : void
Open ( ) : void

Method Details

Close() public static méthode

public static Close ( ) : void
Résultat void

Draw() public static méthode

public static Draw ( Terraria.Main mainInstance, SpriteBatch sb ) : void
mainInstance Terraria.Main
sb SpriteBatch
Résultat void

DrawLeftSide() public static méthode

public static DrawLeftSide ( SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float scales, float minscale = 0.7f, float maxscale = 0.8f, float scalespeed = 0.01f ) : bool
sb SpriteBatch
txt string
i int
anchor Vector2
offset Vector2
scales float
minscale float
maxscale float
scalespeed float
Résultat bool

DrawRightSide() public static méthode

public static DrawRightSide ( SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float scale, float colorScale, Color over = default(Color) ) : bool
sb SpriteBatch
txt string
i int
anchor Vector2
offset Vector2
scale float
colorScale float
over Color
Résultat bool

DrawValue() public static méthode

public static DrawValue ( SpriteBatch sb, string txt, int i, float scale, Color over = default(Color) ) : bool
sb SpriteBatch
txt string
i int
scale float
over Color
Résultat bool

DrawValueBar() public static méthode

public static DrawValueBar ( SpriteBatch sb, float scale, float perc ) : float
sb SpriteBatch
scale float
perc float
Résultat float

MouseOver() public static méthode

public static MouseOver ( ) : void
Résultat void

Open() public static méthode

public static Open ( ) : void
Résultat void

Property Details

category public_oe static_oe property

public static int category
Résultat int

inBar public_oe static_oe property

public static bool inBar
Résultat bool

leftHover public_oe static_oe property

public static int leftHover
Résultat int

leftScale public_oe static_oe property

public static float[] leftScale
Résultat float[]

noSound public_oe static_oe property

public static bool noSound
Résultat bool

notBar public_oe static_oe property

public static bool notBar
Résultat bool

oldLeftHover public_oe static_oe property

public static int oldLeftHover
Résultat int

oldRightHover public_oe static_oe property

public static int oldRightHover
Résultat int

rightHover public_oe static_oe property

public static int rightHover
Résultat int

rightLock public_oe static_oe property

public static int rightLock
Résultat int

rightScale public_oe static_oe property

public static float[] rightScale
Résultat float[]

valuePosition public_oe static_oe property

public static Vector2 valuePosition
Résultat Vector2