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
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getUserWithProperty: UserWithProperties
This method return a bindable version of the User
This method return a bindable version of the User
- returns
the same user but with bindable properties
- val ip: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isServer: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val port: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val username: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )