C# Класс SteamDroidServer.Users

Users handles the allowed users on the server, which are read from the allowed file
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Instance ( ) : Users

Returns the Users object

IsAllowed ( String user ) : bool

Returns whether the specified user is allowed to connect to the server

Users ( ) : System

Приватные методы

Метод Описание
LoadUsers ( ) : void

Loads the allowed file and imports the users

Описание методов

Instance() публичный статический Метод

Returns the Users object
public static Instance ( ) : Users
Результат Users

IsAllowed() публичный Метод

Returns whether the specified user is allowed to connect to the server
public IsAllowed ( String user ) : bool
user String The user to check for
Результат bool

Users() публичный Метод

public Users ( ) : System
Результат System