📄 changeloginmessage.java
字号:
/*
* ChangeLoginMessage.java
*
* Copyright (C) 2000 Jason M. Hanley
* Released under the GNU General Public License (GPL)
* See license.txt for additional information.
*
* Created on September 10, 2000, 11:43 PM
*/
package fate.messages;
import java.io.*;
import fate.network.*;
/**
* Sent by the client to request a change of login and password.
* Also sent back from server to client to verify the new username/password.
*
* @author preylude@s3m.com
* @version 0.1.0
*/
public class ChangeLoginMessage extends GameMessage implements Serializable {
public String username;
public String password;
public boolean bAccepted;
/** Creates new ChangeLoginMessage */
public ChangeLoginMessage( String username, String password, boolean bAccepted ) {
this.username = username;
this.password = password;
this.bAccepted = bAccepted;
}
/** Creates new ChangeLoginMessage */
public ChangeLoginMessage() {
username = new String();
password = new String();
bAccepted = false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -