C# Class Terraria.ModLoader.UI.UIModDownloadItem

Inheritance: Terraria.GameContent.UI.Elements.UIPanel
Show file Open project: bluemagic123/tModLoader Class Usage Examples

Public Properties

Property Type Description
author string
description string
displayname string
download string
downloads int
exists bool
homepage string
mod string
timeStamp string
update bool
version string

Public Methods

Method Description
CompareTo ( object obj ) : int
MouseOut ( UIMouseEvent evt ) : void
MouseOver ( UIMouseEvent evt ) : void
PassFilters ( ) : bool
UIModDownloadItem ( string displayname, string name, string version, string author, string description, string homepage, string download, int downloads, string timeStamp, bool update, bool exists ) : System

Protected Methods

Method Description
DrawSelf ( SpriteBatch spriteBatch ) : void

Private Methods

Method Description
DownloadMod ( UIMouseEvent evt, UIElement listeningElement ) : void
DrawPanel ( SpriteBatch spriteBatch, Vector2 position, float width ) : void
DrawTimeText ( SpriteBatch spriteBatch, Vector2 drawPos ) : void
FadedMouseOut ( UIMouseEvent evt, UIElement listeningElement ) : void
FadedMouseOver ( UIMouseEvent evt, UIElement listeningElement ) : void
GetHttpStatusCode ( System err ) : HttpStatusCode
Moreinfo ( UIMouseEvent evt, UIElement listeningElement ) : void

Method Details

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

DrawSelf() protected method

protected DrawSelf ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

MouseOut() public method

public MouseOut ( UIMouseEvent evt ) : void
evt Terraria.UI.UIMouseEvent
return void

MouseOver() public method

public MouseOver ( UIMouseEvent evt ) : void
evt Terraria.UI.UIMouseEvent
return void

PassFilters() public method

public PassFilters ( ) : bool
return bool

UIModDownloadItem() public method

public UIModDownloadItem ( string displayname, string name, string version, string author, string description, string homepage, string download, int downloads, string timeStamp, bool update, bool exists ) : System
displayname string
name string
version string
author string
description string
homepage string
download string
downloads int
timeStamp string
update bool
exists bool
return System

Property Details

author public property

public string author
return string

description public property

public string description
return string

displayname public property

public string displayname
return string

download public property

public string download
return string

downloads public property

public int downloads
return int

exists public property

public bool exists
return bool

homepage public property

public string homepage
return string

mod public property

public string mod
return string

timeStamp public property

public string timeStamp
return string

update public property

public bool update
return bool

version public property

public string version
return string