Class GeneratingEventArgs
Contains all information after the server generates a seed, but before the map is generated.
public class GeneratingEventArgs : IDeniableEvent, IExiledEvent
- Inheritance
-
GeneratingEventArgs
- Implements
- Inherited Members
- Extension Methods
Remarks
The target layout properties have a miniscule (but non-zero) chance of not working, make sure your event can handle the edge case of failure if you want reliability.
Constructors
GeneratingEventArgs(int, LczFacilityLayout, HczFacilityLayout, EzFacilityLayout)
Initializes a new instance of the GeneratingEventArgs class.
public GeneratingEventArgs(int seed, LczFacilityLayout lcz, HczFacilityLayout hcz, EzFacilityLayout ez)
Parameters
seedintlczLczFacilityLayouthczHczFacilityLayoutezEzFacilityLayout
Properties
EzLayout
Gets the ez layout generated by Seed.
public EzFacilityLayout EzLayout { get; }
Property Value
HczLayout
Gets the hcz layout generated by Seed.
public HczFacilityLayout HczLayout { get; }
Property Value
IsAllowed
Gets or sets a value indicating whether the map can be generated.
public bool IsAllowed { get; set; }
Property Value
Remarks
This property overrides any changes in Seed.
LczLayout
Gets the lcz layout generated by Seed.
public LczFacilityLayout LczLayout { get; }
Property Value
Seed
Gets or sets the seed of the map.
public int Seed { get; set; }
Property Value
Remarks
This property overrides any changes in TargetLczLayout, TargetHczLayout, or TargetEzLayout.
TargetEzLayout
Gets or sets the ez layout Exiled will attempt to generate a seed for.
public EzFacilityLayout TargetEzLayout { get; set; }
Property Value
Remarks
The default value, Unknown, indicates any layout is valid.
TargetHczLayout
Gets or sets the hcz layout Exiled will attempt to generate a seed for.
public HczFacilityLayout TargetHczLayout { get; set; }
Property Value
Remarks
The default value, Unknown, indicates any layout is valid.
TargetLczLayout
Gets or sets the lcz layout Exiled will attempt to generate a seed for.
public LczFacilityLayout TargetLczLayout { get; set; }
Property Value
Remarks
The default value, Unknown, indicates any layout is valid.