Property | 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 |
Method | 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)
|
Method | 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 | |
return | void |
public AddChat ( string username, string message ) : void | ||
username | string | |
message | string | |
return | void |
public GameScreen ( System.Action action ) : System | ||
action | System.Action | |
return | System |
public SentChat ( object sender, TomShane.Neoforce.Controls.ConsoleMessageEventArgs e ) : void | ||
sender | object | |
e | TomShane.Neoforce.Controls.ConsoleMessageEventArgs | |
return | void |
public TextBox_TextChanged ( object sender, TomShane e ) : void | ||
sender | object | |
e | TomShane | |
return | void |
public WrapText ( |
||
spriteFont | ||
text | string | |
maxLineWidth | float | |
return | string |
public StatusBar,TomShane.Neoforce.Controls Bar | ||
return | TomShane.Neoforce.Controls.StatusBar |
public Console,TomShane.Neoforce.Controls ChatBox | ||
return | TomShane.Neoforce.Controls.Console |
public Button[],TomShane.Neoforce.Controls Inventory | ||
return | TomShane.Neoforce.Controls.Button[] |
public Button,TomShane.Neoforce.Controls LeaveButton | ||
return | TomShane.Neoforce.Controls.Button |
public ListBox,TomShane.Neoforce.Controls PlayerList | ||
return | TomShane.Neoforce.Controls.ListBox |