예제 #1
0
 public void setInfo(net.mcforge.iomodel.Player player)
 {
     this.grpInfo.Text = player.getGroup().name;
     this.txtTitle.Text = player.getPrefix();
     if (txtTitle.Text.StartsWith("&"))
         txtTitle.Text = txtTitle.Text.Substring(2);
     this.txtMap.Text = player.getLevel().name;
     this.txtIp.Text = player.getIP();
     this.txtName.Text = player.getName();
     this.txtStatus.Text = "Online"; //lolwut ?
 }