Interface IUnitCarrier
Assembly: cs.temp.dll.dll
Syntax
public interface IUnitCarrier : IEntityComponent, IMonoBehaviour, IAddableUnit, IEntityPostInitializable
Properties
AllowMovementToExitCarrier
Declaration
bool AllowMovementToExitCarrier { get; }
Property Value
CarrierSlots
Declaration
IReadOnlyList<IUnit> CarrierSlots { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<IUnit> |
|
CurrAmount
Declaration
Property Value
HasMaxAmount
Declaration
bool HasMaxAmount { get; }
Property Value
MaxAmount
Declaration
Property Value
Methods
CallUnitsAction(Boolean)
Declaration
ErrorMessage CallUnitsAction(bool playerCommand)
Parameters
Type |
Name |
Description |
Boolean |
playerCommand |
|
Returns
Declaration
ErrorMessage CanCallUnit(SetTargetInputData data)
Parameters
Returns
EjectAction(IUnit, Boolean, Boolean)
Declaration
ErrorMessage EjectAction(IUnit unit, bool destroyed, bool playerCommand)
Parameters
Type |
Name |
Description |
IUnit |
unit |
|
Boolean |
destroyed |
|
Boolean |
playerCommand |
|
Returns
EjectAllAction(Boolean, Boolean)
Declaration
ErrorMessage EjectAllAction(bool destroyed, bool playerCommand)
Parameters
Returns
GetEjectablePosition(IUnit)
Declaration
Vector3 GetEjectablePosition(IUnit unit)
Parameters
Type |
Name |
Description |
IUnit |
unit |
|
Returns
IsUnitStored(IUnit)
Declaration
bool IsUnitStored(IUnit unit)
Parameters
Type |
Name |
Description |
IUnit |
unit |
|
Returns
Events
UnitAdded
Declaration
event CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> UnitAdded
Event Type
Type |
Description |
CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> |
|
UnitCalled
Declaration
event CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> UnitCalled
Event Type
Type |
Description |
CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> |
|
UnitRemoved
Declaration
event CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> UnitRemoved
Event Type
Type |
Description |
CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> |
|