C# 클래스 TheAirline.Models.General.RandomEvent

상속: BaseModel
파일 보기 프로젝트 열기: TheAirlineProject/tap-desktop 1 사용 예제들

Private Properties

프로퍼티 타입 설명
RandomEvent System

공개 메소드들

메소드 설명
AddEvent ( Airline airline, RandomEvent rEvent ) : void
CheckExpired ( ) : void
ExecuteEvents ( Airline airline, System.DateTime time ) : void
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
RandomEvent ( EventType type, Focus focus, int airlineSafety, int moneyEffect, string id, int frequency, System.DateTime stat, System.DateTime end, string name = "", string message = "", bool critical = false, int custHappiness, int aircraftDamage, int airlineSecurity, int empHappiness, double paxDemand = 1, double cargoDemand = 1, int length = 1 ) : System
RemoveEvent ( Airline airline, RandomEvent rEvent ) : void

비공개 메소드들

메소드 설명
RandomEvent ( SerializationInfo info, StreamingContext ctxt ) : System

메소드 상세

AddEvent() 공개 메소드

public AddEvent ( Airline airline, RandomEvent rEvent ) : void
airline TheAirline.Models.Airlines.Airline
rEvent RandomEvent
리턴 void

CheckExpired() 공개 정적인 메소드

public static CheckExpired ( ) : void
리턴 void

ExecuteEvents() 공개 메소드

public ExecuteEvents ( Airline airline, System.DateTime time ) : void
airline TheAirline.Models.Airlines.Airline
time System.DateTime
리턴 void

GetObjectData() 공개 메소드

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
리턴 void

RandomEvent() 공개 메소드

public RandomEvent ( EventType type, Focus focus, int airlineSafety, int moneyEffect, string id, int frequency, System.DateTime stat, System.DateTime end, string name = "", string message = "", bool critical = false, int custHappiness, int aircraftDamage, int airlineSecurity, int empHappiness, double paxDemand = 1, double cargoDemand = 1, int length = 1 ) : System
type EventType
focus Focus
airlineSafety int
moneyEffect int
id string
frequency int
stat System.DateTime
end System.DateTime
name string
message string
critical bool
custHappiness int
aircraftDamage int
airlineSecurity int
empHappiness int
paxDemand double
cargoDemand double
length int
리턴 System

RemoveEvent() 공개 정적인 메소드

public static RemoveEvent ( Airline airline, RandomEvent rEvent ) : void
airline TheAirline.Models.Airlines.Airline
rEvent RandomEvent
리턴 void