Class BunkerFob
public class BunkerFob : ResourceFob, IResourceFob, IDisposable, IFobStrategyMapTackHandler, IDamageableFob, IBuildableFob, IFob, IDeployable, ITranslationArgument, ITransformObject
- Inheritance
-
BunkerFob
- Implements
- Inherited Members
- Extension Methods
Constructors
BunkerFob(IServiceProvider, string, IBuildable)
public BunkerFob(IServiceProvider serviceProvider, string name, IBuildable buildable)
Parameters
serviceProviderIServiceProvidernamestringbuildableIBuildable
Properties
Creator
public CSteamID Creator { get; }
Property Value
- CSteamID
DamageTracker
public DamageTracker DamageTracker { get; }
Property Value
HasBeenRebuilt
public bool HasBeenRebuilt { get; }
Property Value
IsBuilt
public bool IsBuilt { get; }
Property Value
Methods
CheckDeployableToTick(WarfarePlayer, ChatService, DeploymentTranslations, in DeploySettings)
Periodic checks over time to see if a player can deploy to the location. This also runs just before the teleport.
public override bool CheckDeployableToTick(WarfarePlayer player, ChatService chatService, DeploymentTranslations translations, in DeploySettings settings)
Parameters
playerWarfarePlayerchatServiceChatServicetranslationsDeploymentTranslationssettingsDeploySettings
Returns
CreateMapTack(StrategyMap, AssetConfiguration)
protected virtual MapTack? CreateMapTack(StrategyMap map, AssetConfiguration assetConfig)
Parameters
mapStrategyMapassetConfigAssetConfiguration
Returns
GetColor(Team)
Gets the display color of this FOB on the FOB list.
public override Color32 GetColor(Team viewer)
Parameters
viewerTeam
Returns
- Color32
GetDelay(WarfarePlayer)
Get the deployment delay in seconds.
public override TimeSpan GetDelay(WarfarePlayer player)
Parameters
playerWarfarePlayer
Returns
MarkBuilt(IBuildable)
public void MarkBuilt(IBuildable newBuildable)
Parameters
newBuildableIBuildable
MarkUnbuilt(IBuildable)
public void MarkUnbuilt(IBuildable newBuildable)
Parameters
newBuildableIBuildable
OnDeployTo(WarfarePlayer, in DeploySettings)
protected override void OnDeployTo(WarfarePlayer player, in DeploySettings settings)
Parameters
playerWarfarePlayersettingsDeploySettings