C# 클래스 NetMud.Data.System.Affect

상속: IAffect
파일 보기 프로젝트 열기: SwiftAusterity/NetMud

공개 메소드들

메소드 설명
Affect ( ) : System
Affect ( AffectType type, int duration, int value, string target, int>.Dictionary afflictionChances ) : System
Affect ( int duration, int value, string target, int>.Dictionary afflictionChances ) : System
Afflict ( IHasAffects source, ICanBeAffected victim, ContagionVector vector ) : bool

Attempt to spread this to someone else

CompareTo ( IAffect other ) : int

-99 = null input -1 = wrong type 0 = not the same 1 = same reference (same name, same type)

Equals ( IAffect other ) : bool

Compares this object to another one to see if they are the same object

메소드 상세

Affect() 공개 메소드

public Affect ( ) : System
리턴 System

Affect() 공개 메소드

public Affect ( AffectType type, int duration, int value, string target, int>.Dictionary afflictionChances ) : System
type AffectType
duration int
value int
target string
afflictionChances int>.Dictionary
리턴 System

Affect() 공개 메소드

public Affect ( int duration, int value, string target, int>.Dictionary afflictionChances ) : System
duration int
value int
target string
afflictionChances int>.Dictionary
리턴 System

Afflict() 공개 메소드

Attempt to spread this to someone else
public Afflict ( IHasAffects source, ICanBeAffected victim, ContagionVector vector ) : bool
source IHasAffects
victim ICanBeAffected the victim
vector ContagionVector How this is being spread
리턴 bool

CompareTo() 공개 메소드

-99 = null input -1 = wrong type 0 = not the same 1 = same reference (same name, same type)
public CompareTo ( IAffect other ) : int
other IAffect
리턴 int

Equals() 공개 메소드

Compares this object to another one to see if they are the same object
public Equals ( IAffect other ) : bool
other IAffect the object to compare to
리턴 bool