Legend of the Green Dragon

Bans

Functions for bans account.

Table of Contents

bansSearchAccts()  : Paginator|null
Search accounts.
getAccountsWithEqualId()  : array<string|int, mixed>
Get accounts with identical ID.
getAccountsWithSimilarIp()  : array<string|int, mixed>
Get accounts with similar IP.
getBasicInfoOfAccount()  : array<string|int, mixed>
Get a basic information of account for ban.
logoutAffectedAccounts()  : int
Log out affected players for a ban.

Methods

bansSearchAccts()

Search accounts.

public bansSearchAccts(string $search, string $order, int $page) : Paginator|null
Parameters
$search : string
$order : string
$page : int
Return values
Paginator|null

getAccountsWithEqualId()

Get accounts with identical ID.

public getAccountsWithEqualId(string $uniqueId) : array<string|int, mixed>
Parameters
$uniqueId : string
Return values
array<string|int, mixed>

getAccountsWithSimilarIp()

Get accounts with similar IP.

public getAccountsWithSimilarIp(string $ip, int $accountId) : array<string|int, mixed>
Parameters
$ip : string
$accountId : int
Return values
array<string|int, mixed>

getBasicInfoOfAccount()

Get a basic information of account for ban.

public getBasicInfoOfAccount(int $acctId) : array<string|int, mixed>
Parameters
$acctId : int
Return values
array<string|int, mixed>

logoutAffectedAccounts()

Log out affected players for a ban.

public logoutAffectedAccounts(string $ip, string $id, string $type) : int
Parameters
$ip : string
$id : string
$type : string
Return values
int

Search results