C# 클래스 Terraria.Plugins.CoderCow.AdvancedCircuits.AdvancedCircuits

파일 보기 프로젝트 열기: CoderCow/AdvancedCircuits-Plugin 1 사용 예제들

공개 메소드들

메소드 설명
BoolToSignal ( bool signal ) : SignalType
DirectionFromTileLocations ( System.Drawing.Point startTile, System.Drawing.Point endTile ) : Direction
EnumerateComponentPortLocations ( Terraria.Plugins.Common.ObjectMeasureData measureData ) : IEnumerable
EnumerateComponentPortLocations ( System.Drawing.Point componentOriginLocation, System.Drawing.Point componentSize ) : IEnumerable
EnumerateWireColors ( ) : IEnumerable
GetComponentName ( BlockType blockType ) : string
GetPortAdjacentComponentTileLocation ( Terraria.Plugins.Common.ObjectMeasureData measureData, System.Drawing.Point portLocation ) : System.Drawing.Point
InvertDirection ( Direction direction ) : Direction
IsComponentWiredByPort ( Terraria.Plugins.Common.ObjectMeasureData measureData ) : bool
IsComponentWiredByPort ( System.Drawing.Point componentOriginLocation, System.Drawing.Point componentSize ) : bool
IsCustomActivatableBlock ( BlockType blockType ) : bool
IsLogicalGate ( BlockType blockType ) : bool
IsOriginSenderComponent ( BlockType blockType ) : bool
IsPaintSupportingComponent ( BlockType blockType ) : bool
IsPortDefiningComponentBlock ( BlockType blockType ) : bool
MeasureTimerFrameTime ( System.Drawing.Point timerLocation ) : int
SignalToBool ( SignalType signal ) : bool?
SwapperPaintToCount ( PaintColor componentPaint ) : int

메소드 상세

BoolToSignal() 공개 정적인 메소드

public static BoolToSignal ( bool signal ) : SignalType
signal bool
리턴 SignalType

DirectionFromTileLocations() 공개 정적인 메소드

public static DirectionFromTileLocations ( System.Drawing.Point startTile, System.Drawing.Point endTile ) : Direction
startTile System.Drawing.Point
endTile System.Drawing.Point
리턴 Direction

EnumerateComponentPortLocations() 공개 정적인 메소드

public static EnumerateComponentPortLocations ( Terraria.Plugins.Common.ObjectMeasureData measureData ) : IEnumerable
measureData Terraria.Plugins.Common.ObjectMeasureData
리턴 IEnumerable

EnumerateComponentPortLocations() 공개 정적인 메소드

public static EnumerateComponentPortLocations ( System.Drawing.Point componentOriginLocation, System.Drawing.Point componentSize ) : IEnumerable
componentOriginLocation System.Drawing.Point
componentSize System.Drawing.Point
리턴 IEnumerable

EnumerateWireColors() 공개 정적인 메소드

public static EnumerateWireColors ( ) : IEnumerable
리턴 IEnumerable

GetComponentName() 공개 정적인 메소드

public static GetComponentName ( BlockType blockType ) : string
blockType BlockType
리턴 string

GetPortAdjacentComponentTileLocation() 공개 정적인 메소드

public static GetPortAdjacentComponentTileLocation ( Terraria.Plugins.Common.ObjectMeasureData measureData, System.Drawing.Point portLocation ) : System.Drawing.Point
measureData Terraria.Plugins.Common.ObjectMeasureData
portLocation System.Drawing.Point
리턴 System.Drawing.Point

InvertDirection() 공개 정적인 메소드

public static InvertDirection ( Direction direction ) : Direction
direction Direction
리턴 Direction

IsComponentWiredByPort() 공개 정적인 메소드

public static IsComponentWiredByPort ( Terraria.Plugins.Common.ObjectMeasureData measureData ) : bool
measureData Terraria.Plugins.Common.ObjectMeasureData
리턴 bool

IsComponentWiredByPort() 공개 정적인 메소드

public static IsComponentWiredByPort ( System.Drawing.Point componentOriginLocation, System.Drawing.Point componentSize ) : bool
componentOriginLocation System.Drawing.Point
componentSize System.Drawing.Point
리턴 bool

IsCustomActivatableBlock() 공개 정적인 메소드

public static IsCustomActivatableBlock ( BlockType blockType ) : bool
blockType BlockType
리턴 bool

IsLogicalGate() 공개 정적인 메소드

public static IsLogicalGate ( BlockType blockType ) : bool
blockType BlockType
리턴 bool

IsOriginSenderComponent() 공개 정적인 메소드

public static IsOriginSenderComponent ( BlockType blockType ) : bool
blockType BlockType
리턴 bool

IsPaintSupportingComponent() 공개 정적인 메소드

public static IsPaintSupportingComponent ( BlockType blockType ) : bool
blockType BlockType
리턴 bool

IsPortDefiningComponentBlock() 공개 정적인 메소드

public static IsPortDefiningComponentBlock ( BlockType blockType ) : bool
blockType BlockType
리턴 bool

MeasureTimerFrameTime() 공개 정적인 메소드

public static MeasureTimerFrameTime ( System.Drawing.Point timerLocation ) : int
timerLocation System.Drawing.Point
리턴 int

SignalToBool() 공개 정적인 메소드

public static SignalToBool ( SignalType signal ) : bool?
signal SignalType
리턴 bool?

SwapperPaintToCount() 공개 정적인 메소드

public static SwapperPaintToCount ( PaintColor componentPaint ) : int
componentPaint PaintColor
리턴 int