multisw-server
    Preparing search index...

    Class Database

    Database for storing user data.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Adds player to database.

      Parameters

      • ip: string

        Ip of player to add.

      • player: Player

        Player to add.

      Returns void

    • Deletes player in database.

      Parameters

      • ip: string

        Ip of player to delete.

      Returns void

    • Checks if player exists on database.

      Parameters

      • ip: string

        Ip to check.

      Returns boolean

    • Updates player in database.

      Parameters

      • ip: string

        Ip of player to update.

      • player: Player

        Player to update.

      Returns void