C# Class Ensage.Common.SideMessage

Provides side message notifications
Afficher le fichier Open project: EnsageSharp/Ensage.Common Class Usage Examples

Méthodes publiques

Свойство Type Description
MessagePosition System.Vector2

Méthodes publiques

Méthode Description
AddElement ( System.Vector2 position1, System.Vector2 position2, Color color ) : void

AddElement ( System.Vector2 position, System.Vector2 size, Color color, bool outline = false ) : void

AddElement ( System.Vector2 position, System.Vector2 size, DotaTexture texture ) : void

AddElement ( string text, System.Vector2 position, Color color, FontFlags fontFlags ) : void

AddElement ( string text, System.Vector2 position, System.Vector2 size, Color color, FontFlags fontFlags ) : void

AddElement ( string text, string fontName, System.Vector2 position, System.Vector2 size, Color color, FontFlags fontFlags ) : void

CreateMessage ( ) : void

DestroyMessage ( ) : void

Initialize ( ) : void

SideMessage ( string name, System.Vector2 size, Color bgColor = null, Color bdColor = null, int enterTime = null, int stayTime = null, int exitTime = null ) : System

Private Methods

Méthode Description
OnDraw ( EventArgs args ) : void
SetX ( float x ) : void
ShiftVec ( System.Vector2 vector ) : void
SideMessage ( ) : System

Method Details

AddElement() public méthode

public AddElement ( System.Vector2 position1, System.Vector2 position2, Color color ) : void
position1 System.Vector2
position2 System.Vector2
color Color
Résultat void

AddElement() public méthode

public AddElement ( System.Vector2 position, System.Vector2 size, Color color, bool outline = false ) : void
position System.Vector2
size System.Vector2
color Color
outline bool
Résultat void

AddElement() public méthode

public AddElement ( System.Vector2 position, System.Vector2 size, DotaTexture texture ) : void
position System.Vector2
size System.Vector2
texture DotaTexture
Résultat void

AddElement() public méthode

public AddElement ( string text, System.Vector2 position, Color color, FontFlags fontFlags ) : void
text string
position System.Vector2
color Color
fontFlags FontFlags
Résultat void

AddElement() public méthode

public AddElement ( string text, System.Vector2 position, System.Vector2 size, Color color, FontFlags fontFlags ) : void
text string
position System.Vector2
size System.Vector2
color Color
fontFlags FontFlags
Résultat void

AddElement() public méthode

public AddElement ( string text, string fontName, System.Vector2 position, System.Vector2 size, Color color, FontFlags fontFlags ) : void
text string
fontName string
position System.Vector2
size System.Vector2
color Color
fontFlags FontFlags
Résultat void

CreateMessage() public méthode

public CreateMessage ( ) : void
Résultat void

DestroyMessage() public méthode

public DestroyMessage ( ) : void
Résultat void

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

SideMessage() public méthode

public SideMessage ( string name, System.Vector2 size, Color bgColor = null, Color bdColor = null, int enterTime = null, int stayTime = null, int exitTime = null ) : System
name string
size System.Vector2
bgColor Color
bdColor Color
enterTime int
stayTime int
exitTime int
Résultat System

Property Details

MessagePosition public_oe property

Position of side message
public Vector2,System MessagePosition
Résultat System.Vector2