Class CargoGiftsRule
Inheritance
System.Object
CargoGiftsRule
Namespace: Content.Server.StationEvents.Events
Assembly: Content.Server.dll
Syntax
public sealed class CargoGiftsRule : StationEventSystem<CargoGiftsRuleComponent>
Methods
| Improve this Doc View SourceActiveTick(EntityUid, CargoGiftsRuleComponent, GameRuleComponent, Single)
Called on an active gamerule entity in the Update function
Declaration
protected override void ActiveTick(EntityUid uid, CargoGiftsRuleComponent component, GameRuleComponent gameRule, float frameTime)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
CargoGiftsRuleComponent | component | |
GameRuleComponent | gameRule | |
System.Single | frameTime |
Overrides
Content.Server.GameTicking.Rules.GameRuleSystem<Content.Server.StationEvents.Components.CargoGiftsRuleComponent>.ActiveTick(EntityUid, Content.Server.StationEvents.Components.CargoGiftsRuleComponent, Content.Server.GameTicking.Rules.Components.GameRuleComponent, System.Single)
|
Improve this Doc
View Source
Added(EntityUid, CargoGiftsRuleComponent, GameRuleComponent, GameRuleAddedEvent)
Declaration
protected override void Added(EntityUid uid, CargoGiftsRuleComponent component, GameRuleComponent gameRule, GameRuleAddedEvent args)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
CargoGiftsRuleComponent | component | |
GameRuleComponent | gameRule | |
Content.Server.GameTicking.Rules.Components.GameRuleAddedEvent | args |
Overrides
Content.Server.StationEvents.Events.StationEventSystem<Content.Server.StationEvents.Components.CargoGiftsRuleComponent>.Added(EntityUid, Content.Server.StationEvents.Components.CargoGiftsRuleComponent, Content.Server.GameTicking.Rules.Components.GameRuleComponent, Content.Server.GameTicking.Rules.Components.GameRuleAddedEvent)