Class PedGroup
Namespace: GTA
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class PedGroup : PoolObject, INativeValue, IDeletable, IExistable, IEnumerable<Ped>, IEnumerable, IDisposable
Constructors
|
Improve this Doc
View Source
PedGroup()
Declaration
|
Improve this Doc
View Source
PedGroup(Int32)
Declaration
public PedGroup(int handle)
Parameters
Type |
Name |
Description |
Int32 |
handle |
|
Properties
|
Improve this Doc
View Source
Declaration
public Formation Formation { set; }
Property Value
|
Improve this Doc
View Source
Leader
Declaration
public Ped Leader { get; }
Property Value
|
Improve this Doc
View Source
MemberCount
Declaration
public int MemberCount { get; }
Property Value
|
Improve this Doc
View Source
SeparationRange
Declaration
public float SeparationRange { set; }
Property Value
Methods
|
Improve this Doc
View Source
Add(Ped, Boolean)
Declaration
public void Add(Ped ped, bool leader)
Parameters
|
Improve this Doc
View Source
Contains(Ped)
Declaration
public bool Contains(Ped ped)
Parameters
Type |
Name |
Description |
Ped |
ped |
|
Returns
|
Improve this Doc
View Source
Delete()
Declaration
public override void Delete()
Overrides
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Returns
Type |
Description |
Boolean |
true if the obj is the same group as this PedGroup; otherwise, false.
|
Overrides
|
Improve this Doc
View Source
Exists()
Declaration
public override bool Exists()
Returns
Overrides
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<Ped> GetEnumerator()
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
GetMember(Int32)
Declaration
public Ped GetMember(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
Remove(Ped)
Declaration
public void Remove(Ped ped)
Parameters
Type |
Name |
Description |
Ped |
ped |
|
|
Improve this Doc
View Source
ToArray(Boolean)
Declaration
public Ped[] ToArray(bool includingLeader = true)
Parameters
Type |
Name |
Description |
Boolean |
includingLeader |
|
Returns
|
Improve this Doc
View Source
ToList(Boolean)
Declaration
public List<Ped> ToList(bool includingLeader = true)
Parameters
Type |
Name |
Description |
Boolean |
includingLeader |
|
Returns
Operators
|
Improve this Doc
View Source
Equality(PedGroup, PedGroup)
Determines if two PedGroups refer to the same group.
Declaration
public static bool operator ==(PedGroup left, PedGroup right)
Parameters
Returns
Type |
Description |
Boolean |
true if left is the same group as right ; otherwise, false.
|
|
Improve this Doc
View Source
Converts a PedGroup to a native input argument.
Declaration
public static implicit operator InputArgument(PedGroup value)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(PedGroup, PedGroup)
Determines if two PedGroups don't refer to the same group.
Declaration
public static bool operator !=(PedGroup left, PedGroup right)
Parameters
Returns
Type |
Description |
Boolean |
true if left is not the same group as right ; otherwise, false.
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Implements