case class User(username: String, ip: String = "", port: Int = 0, isServer: Boolean) extends Product with Serializable
User class
- username
the username
- ip
the ip
- port
the port
- isServer
true if the user is a server, false if it's a client
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- User
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
User(player: Player, isServer: Boolean)
Secondary constructor
Secondary constructor
- player
The BasicPlayer where to get user info from
- isServer
true if the user is a server, false if it's a client
- returns
the user
-
new
User(username: String, ip: String = "", port: Int = 0, isServer: Boolean)
- username
the username
- ip
the ip
- port
the port
- isServer
true if the user is a server, false if it's a client