Packages

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
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. User
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  2. 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

  1. 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

  2. val ip: String
  3. val isServer: Boolean
  4. val port: Int
  5. val username: String