Class DirectoryRecord


  • public final class DirectoryRecord
    extends Object
    Represents a record in the directory for game sessions
    • Constructor Detail

      • DirectoryRecord

        public DirectoryRecord()
    • Method Detail

      • report

        public void report​(StringBuilder sb,
                           boolean includeSecret)
      • getUuid

        public UUID getUuid()
      • setUuid

        public void setUuid​(UUID uuid)
      • getSecret

        public String getSecret()
      • setSecret

        public void setSecret​(String secret)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getIp

        public String getIp()
      • setIp

        public void setIp​(String ip)
      • getStatus

        public String getStatus()
      • setStatus

        public void setStatus​(String status)
      • getPlayers

        public Integer getPlayers()
      • setPlayers

        public void setPlayers​(Integer players)
      • getQuickJoinCode

        public String getQuickJoinCode()
      • setQuickJoinCode

        public void setQuickJoinCode​(String quickJoinCode)
      • isPrivate_

        public boolean isPrivate_()
      • setPrivate_

        public void setPrivate_​(boolean private_)
      • isDedicated

        public boolean isDedicated()
      • setDedicated

        public void setDedicated​(boolean dedicated)
      • isPasswordProtected

        public boolean isPasswordProtected()
      • setPasswordProtected

        public void setPasswordProtected​(boolean passwordProtected)
      • isOfficial

        public boolean isOfficial()
      • setOfficial

        public void setOfficial​(boolean official)
      • getGameMode

        public String getGameMode()
      • setGameMode

        public void setGameMode​(String gameMode)