@citizenfx/client 2.0.4990-1 → 2.0.4992-1
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.
- package/natives_universal.d.ts +10 -0
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -15968,6 +15968,8 @@ declare function MumbleClearVoiceTargetChannels(targetId: number): void;
|
|
|
15968
15968
|
*/
|
|
15969
15969
|
declare function MumbleClearVoiceTargetPlayers(targetId: number): void;
|
|
15970
15970
|
|
|
15971
|
+
declare function MumbleGetTalkerProximity(): number;
|
|
15972
|
+
|
|
15971
15973
|
/**
|
|
15972
15974
|
* Returns the mumble voice channel from a player's server id.
|
|
15973
15975
|
* @param serverId The player's server id.
|
|
@@ -15975,6 +15977,8 @@ declare function MumbleClearVoiceTargetPlayers(targetId: number): void;
|
|
|
15975
15977
|
*/
|
|
15976
15978
|
declare function MumbleGetVoiceChannelFromServerId(serverId: number): number;
|
|
15977
15979
|
|
|
15980
|
+
declare function MumbleIsActive(): boolean;
|
|
15981
|
+
|
|
15978
15982
|
/**
|
|
15979
15983
|
* This native will return true if the user succesfully connected to the voice server.
|
|
15980
15984
|
* If the user disabled the voice-chat setting it will return false.
|
|
@@ -15982,6 +15986,8 @@ declare function MumbleGetVoiceChannelFromServerId(serverId: number): number;
|
|
|
15982
15986
|
*/
|
|
15983
15987
|
declare function MumbleIsConnected(): boolean;
|
|
15984
15988
|
|
|
15989
|
+
declare function MumbleIsPlayerTalking(player: number): boolean;
|
|
15990
|
+
|
|
15985
15991
|
/**
|
|
15986
15992
|
* Stops listening to the specified channel.
|
|
15987
15993
|
* @param channel A game voice channel ID.
|
|
@@ -16012,6 +16018,8 @@ declare function MumbleRemoveVoiceTargetPlayer(targetId: number, player: number)
|
|
|
16012
16018
|
*/
|
|
16013
16019
|
declare function MumbleRemoveVoiceTargetPlayerByServerId(targetId: number, serverId: number): void;
|
|
16014
16020
|
|
|
16021
|
+
declare function MumbleSetActive(state: boolean): void;
|
|
16022
|
+
|
|
16015
16023
|
/**
|
|
16016
16024
|
* Sets the current input distance. The player will be able to talk to other players within this distance.
|
|
16017
16025
|
* @param distance The input distance.
|
|
@@ -16049,6 +16057,8 @@ declare function MumbleSetServerAddress(address: string, port: number): void;
|
|
|
16049
16057
|
*/
|
|
16050
16058
|
declare function MumbleSetSubmixForServerId(serverId: number, submixId: number): void;
|
|
16051
16059
|
|
|
16060
|
+
declare function MumbleSetTalkerProximity(value: number): void;
|
|
16061
|
+
|
|
16052
16062
|
/**
|
|
16053
16063
|
* Sets the current Mumble voice target ID to broadcast voice to.
|
|
16054
16064
|
* @param targetId A Mumble voice target ID, ranging from 1..30 (inclusive). 0 disables voice targets, and 31 is server loopback.
|