Interface ISelectionManager
Assembly: cs.temp.dll.dll
Syntax
public interface ISelectionManager : IPreRunGameService
Properties
Count
Declaration
Property Value
LocalFactionCount
Declaration
int LocalFactionCount { get; }
Property Value
SingleSelectedUnitSquad
Declaration
IUnitSquad SingleSelectedUnitSquad { get; }
Property Value
Type |
Description |
IUnitSquad |
|
Methods
Add(IEntity, SelectionType, Boolean)
Declaration
bool Add(IEntity entity, SelectionType type, bool isLocalPlayerClickSelection)
Parameters
Returns
Add(IEnumerable<IEntity>)
Declaration
bool Add(IEnumerable<IEntity> entities)
Parameters
Returns
GetEntitiesDictionary(EntityType, Boolean)
Declaration
IDictionary<string, IEnumerable<IEntity>> GetEntitiesDictionary(EntityType type, bool localPlayerFaction)
Parameters
Type |
Name |
Description |
EntityType |
type |
|
Boolean |
localPlayerFaction |
|
Returns
Type |
Description |
System.Collections.Generic.IDictionary<String, IEnumerable<IEntity>> |
|
GetEntitiesList(EntityType, Boolean, Boolean)
Declaration
IEnumerable<IEntity> GetEntitiesList(EntityType type, bool exclusiveType, bool localPlayerFaction)
Parameters
Type |
Name |
Description |
EntityType |
type |
|
Boolean |
exclusiveType |
|
Boolean |
localPlayerFaction |
|
Returns
GetSingleSelectedEntity(EntityType, Boolean)
Declaration
IEntity GetSingleSelectedEntity(EntityType type, bool localPlayerFaction = false)
Parameters
Type |
Name |
Description |
EntityType |
type |
|
Boolean |
localPlayerFaction |
|
Returns
IsSelected(IEntity, Boolean)
Declaration
bool IsSelected(IEntity entity, bool localPlayerFaction = false)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Boolean |
localPlayerFaction |
|
Returns
IsSelectedOnly(IEntity, Boolean)
Declaration
bool IsSelectedOnly(IEntity entity, bool localPlayerFaction = false)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Boolean |
localPlayerFaction |
|
Returns
IsUnitSquadSelectedOnly()
Declaration
bool IsUnitSquadSelectedOnly()
Returns
IsUnitSquadSelectedOnly(IUnitSquad)
Declaration
bool IsUnitSquadSelectedOnly(IUnitSquad unitSquad)
Parameters
Type |
Name |
Description |
IUnitSquad |
unitSquad |
|
Returns
Remove(IEntity)
Declaration
bool Remove(IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Returns
Remove(IEnumerable<IEntity>)
Declaration
void Remove(IEnumerable<IEntity> entities)
Parameters
RemoveAll()
Declaration