@communityox/ox_core 1.5.4 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { OxGroup, CreateGroupProperties } from '../../types';
|
|
2
2
|
export declare function GetGroup(name: string): OxGroup;
|
|
3
3
|
export declare function GetGroupsByType(type: string): string[];
|
|
4
|
+
export declare function GetGroupActivePlayers(groupName: string): number[];
|
|
5
|
+
export declare function GetGroupActivePlayersByType(type: string): number[];
|
|
4
6
|
export declare function SetGroupPermission(groupName: string, grade: number, permission: string, value: 'allow' | 'deny'): void;
|
|
5
7
|
export declare function RemoveGroupPermission(groupName: string, grade: number, permission: string): void;
|
|
6
8
|
export declare function CreateGroup(data: CreateGroupProperties): Promise<void>;
|
package/package/types/index.d.ts
CHANGED