Table of Contents

Class Event

Namespace
VAMP.Structs
Assembly
VAMP.dll

Represents an event in the system.

public class Event
Inheritance
Event
Inherited Members

Constructors

Event(Guid, string, EventTrigger, ScheduleEntry[], int)

Initializes a new instance of the Event class.

public Event(Guid id, string name, EventTrigger trigger, ScheduleEntry[] dateTimes = null, int minPlayers = 0)

Parameters

id Guid

The unique identifier for the event.

name string

The name of the event.

trigger EventTrigger

The trigger type for the event.

dateTimes ScheduleEntry[]

Optional array of schedule entries. Defaults to null.

minPlayers int

Optional minimum number of players. Defaults to 0.

Fields

dateTimes

Array of schedule entries defining when the event occurs.

public ScheduleEntry[] dateTimes

Field Value

ScheduleEntry[]

eventTrigger

The trigger type for the event.

public EventTrigger eventTrigger

Field Value

EventTrigger

id

The unique identifier for the event.

public Guid id

Field Value

Guid

minPlayers

The minimum number of players required for the event.

public int minPlayers

Field Value

int

name

The name of the event.

public string name

Field Value

string