⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loginmessage.java

📁 Massively Multiplayer Space Trading and Combat game. This is an online strategy game, not a 3D space
💻 JAVA
字号:
/*
 * LoginMessage.java
 *
 * Copyright (C) 2000 Jason M. Hanley
 * Released under the GNU General Public License (GPL)
 * See license.txt for additional information.
 *
 * Created on July 24, 2000, 10:14 PM
 */
 
package fate.messages;

import java.io.*;

import fate.network.*;

/** 
 * Sent between the client and server during login.
 * <br><br>
 * Serves two purposes:<br> 1) Request login from client to server, 
 * <br>2) Indicated whether the login was accepted.
 * @author  preylude@s3m.com
 * @version 0.1.0
 */
public class LoginMessage extends GameMessage implements Serializable {
  
  public String username;
  public String password;
  public boolean bAccepted;

  /** Creates new LoginMessage */
  public LoginMessage( String username, String password, boolean bAccepted ) {
    this.username = username;
    this.password = password;
    this.bAccepted = bAccepted;
  }
  
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -