Class VoiceChannel
Inheritance
System.Object
VoiceChannel
Inherited Members
AltV.Net.Shared.Elements.Entities.SharedBaseObject.SetMetaData(Dictionary<, >)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.dll
Syntax
public class VoiceChannel : BaseObject, IInternalBaseObject, IVoiceChannel, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
VoiceChannel(ICore, IntPtr, UInt32)
Declaration
public VoiceChannel(ICore core, IntPtr nativePointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
System.IntPtr |
nativePointer |
|
System.UInt32 |
id |
|
Properties
|
Improve this Doc
View Source
Filter
Declaration
public uint Filter { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
IsSpatial
Declaration
public bool IsSpatial { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MaxDistance
Declaration
public float MaxDistance { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NativePointer
Declaration
public override IntPtr NativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Overrides
|
Improve this Doc
View Source
PlayerCount
Declaration
public ulong PlayerCount { get; }
Property Value
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
Players
Declaration
public IReadOnlyCollection<IPlayer> Players { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IPlayer> |
|
|
Improve this Doc
View Source
Priority
Declaration
public int Priority { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
VoiceChannelNativePointer
Declaration
public IntPtr VoiceChannelNativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Methods
|
Improve this Doc
View Source
AddPlayer(IPlayer)
Declaration
public void AddPlayer(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
|
Improve this Doc
View Source
GetId(IntPtr)
Declaration
public static uint GetId(IntPtr pedPointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
pedPointer |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
HasPlayer(IPlayer)
Declaration
public bool HasPlayer(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPlayerMuted(IPlayer)
Declaration
public bool IsPlayerMuted(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MutePlayer(IPlayer)
Declaration
public void MutePlayer(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
|
Improve this Doc
View Source
RemovePlayer(IPlayer)
Declaration
public void RemovePlayer(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
|
Improve this Doc
View Source
UnmutePlayer(IPlayer)
Declaration
public void UnmutePlayer(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Implements