Show / Hide Table of Contents

Class CargoGiftsRuleComponent

Used an event that gifts the station with certian cargo

Inheritance
System.Object
CargoGiftsRuleComponent
Namespace: Content.Server.StationEvents.Components
Assembly: Content.Server.dll
Syntax
public sealed class CargoGiftsRuleComponent : Component

Fields

| Improve this Doc View Source

Announce

The base announcement string (which then incorporates the strings below)

Declaration
public string Announce
Field Value
Type Description
System.String
| Improve this Doc View Source

Description

What is being sent

Declaration
public string Description
Field Value
Type Description
System.String
| Improve this Doc View Source

Dest

Destination of the gifts (who they get sent to on the station)

Declaration
public string Dest
Field Value
Type Description
System.String
| Improve this Doc View Source

Gifts

Cargo that you would like gifted to the station, with the quantity for each Use Ids from cargoProduct Prototypes

Declaration
public Dictionary<string, int> Gifts
Field Value
Type Description
Dictionary<System.String, System.Int32>
| Improve this Doc View Source

OrderSpaceToLeave

How much space (minimum) you want to leave in the order database for supply to actually do their work

Declaration
public int OrderSpaceToLeave
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Sender

Sender of the gifts

Declaration
public string Sender
Field Value
Type Description
System.String
| Improve this Doc View Source

TimeUntilNextGifts

Time until we consider next lot of gifts (if supply is overflowing with orders)

Declaration
public float TimeUntilNextGifts
Field Value
Type Description
System.Single
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾