C# 클래스 csCommon.Plugins.EffectAppraisalPlugin.Models.EffectState

The EffectState keeps track of all positive and negative contributions of a certain effect. The positive effects increase its total score, the negative effects reduce it. Note that a positive effect can still be undesirable, e.g. the total threat score.
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

공개 메소드들

메소드 설명
AddEffectState ( EffectState state ) : void
EffectState ( string name ) : System.Text.RegularExpressions
EffectState ( string name, EffectLevel level ) : System.Text.RegularExpressions
EffectState ( string name, EffectLevel level, bool isDisturbance ) : System.Text.RegularExpressions
SubtractEffectState ( EffectState state ) : void
ToString ( ) : string

비공개 메소드들

메소드 설명
addEffect ( EffectLevel level ) : void
levelToScore ( EffectLevel level ) : int

메소드 상세

AddEffectState() 공개 메소드

public AddEffectState ( EffectState state ) : void
state EffectState
리턴 void

EffectState() 공개 메소드

public EffectState ( string name ) : System.Text.RegularExpressions
name string
리턴 System.Text.RegularExpressions

EffectState() 공개 메소드

public EffectState ( string name, EffectLevel level ) : System.Text.RegularExpressions
name string
level EffectLevel
리턴 System.Text.RegularExpressions

EffectState() 공개 메소드

public EffectState ( string name, EffectLevel level, bool isDisturbance ) : System.Text.RegularExpressions
name string
level EffectLevel
isDisturbance bool
리턴 System.Text.RegularExpressions

SubtractEffectState() 공개 메소드

public SubtractEffectState ( EffectState state ) : void
state EffectState
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string