userinfo.java

来自「用Java写的网络大战游戏」· Java 代码 · 共 26 行

JAVA
26
字号

import java.io.*;

public class UserInfo{
	public String username;
	public String chatroom;
        public int chatroom_id;
	public BufferedReader input;
	public PrintWriter output;
	public int boss;
        int channel_id,moneycount;
        String to;
	public UserInfo(String name, String c, int chatroom_id,BufferedReader in,
		PrintWriter out,int boss,int channel_id,int moneycount, String to){
		this.username = name;
		this.chatroom = c;
                this.chatroom_id=chatroom_id;
		this.input = in;
		this.output = out;
                this.boss=boss;
                this.channel_id=channel_id;
                this.moneycount=moneycount;
                this.to=to;
	}
}

⌨️ 快捷键说明

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