Свойство | Type | Description | |
---|---|---|---|
Bar | TomShane.Neoforce.Controls.StatusBar | ||
ChatBox | TomShane.Neoforce.Controls.Console | ||
Inventory | TomShane.Neoforce.Controls.Button[] | ||
LeaveButton | TomShane.Neoforce.Controls.Button | ||
PlayerList | TomShane.Neoforce.Controls.ListBox | ||
StatsLabel | TomShane.Neoforce.Controls.Label |
Méthode | Description | |
---|---|---|
Add ( Bricklayer.Client.Interface.ScreenManager screenManager ) : void | ||
AddChat ( string username, string message ) : void |
Adds a chat message to the chat box
|
|
GameScreen ( ) : System | ||
GameScreen ( System.Action action ) : System | ||
Remove ( ) : void | ||
SentChat ( object sender, TomShane.Neoforce.Controls.ConsoleMessageEventArgs e ) : void |
Called when a chat is sent from the local user
|
|
Show ( ) : void |
Called when we recieve the Init packet, meaning we can now show game UI and hide the loading message
|
|
SystemChat ( string message ) : void |
Adds a system chat message to the chat box
|
|
TextBox_TextChanged ( object sender, TomShane e ) : void |
Called when the content of the chatbox's text is changed
|
|
WrapText ( |
Wraps a string around the width of an area (Ex: The chat box)
|
Méthode | Description | |
---|---|---|
AddText ( ConsoleMessage c, string texts, ConsoleMessage msgs ) : void |
Used to add text messages to the chat box
|
public Add ( Bricklayer.Client.Interface.ScreenManager screenManager ) : void | ||
screenManager | Bricklayer.Client.Interface.ScreenManager | |
Résultat | void |
public AddChat ( string username, string message ) : void | ||
username | string | |
message | string | |
Résultat | void |
public GameScreen ( System.Action action ) : System | ||
action | System.Action | |
Résultat | System |
public SentChat ( object sender, TomShane.Neoforce.Controls.ConsoleMessageEventArgs e ) : void | ||
sender | object | |
e | TomShane.Neoforce.Controls.ConsoleMessageEventArgs | |
Résultat | void |
public SystemChat ( string message ) : void | ||
message | string | |
Résultat | void |
public TextBox_TextChanged ( object sender, TomShane e ) : void | ||
sender | object | |
e | TomShane | |
Résultat | void |
public WrapText ( |
||
spriteFont | ||
text | string | |
maxLineWidth | float | |
Résultat | string |
public StatusBar,TomShane.Neoforce.Controls Bar | ||
Résultat | TomShane.Neoforce.Controls.StatusBar |
public Console,TomShane.Neoforce.Controls ChatBox | ||
Résultat | TomShane.Neoforce.Controls.Console |
public Button[],TomShane.Neoforce.Controls Inventory | ||
Résultat | TomShane.Neoforce.Controls.Button[] |
public Button,TomShane.Neoforce.Controls LeaveButton | ||
Résultat | TomShane.Neoforce.Controls.Button |
public ListBox,TomShane.Neoforce.Controls PlayerList | ||
Résultat | TomShane.Neoforce.Controls.ListBox |