C# 클래스 TDSM.Core.Misc.World

파일 보기 프로젝트 열기: DeathCradle/Terraria-s-Dedicated-Server-Mod

공개 메소드들

메소드 설명
GetParsableTime ( ) : double
GetRandomClearTile ( float x, float y, int attempts = 1, int rangeY = 50, int rangeX = 50 ) : Vector2
GetRandomClearTile ( int x, int y, int attempts = 1, int rangeX = 50, int rangeY = 50 ) : Vector2
GetWorldSize ( ) : WorldSize
IsLarge ( this size ) : bool
IsMedium ( this size ) : bool
IsSmall ( this size ) : bool
IsTileClear ( int x, int y ) : bool
IsTileValid ( int x, int y ) : bool
SetParsedTime ( double time ) : void
SetTime ( double time, bool dayTime = true ) : void

메소드 상세

GetParsableTime() 공개 정적인 메소드

public static GetParsableTime ( ) : double
리턴 double

GetRandomClearTile() 공개 정적인 메소드

public static GetRandomClearTile ( float x, float y, int attempts = 1, int rangeY = 50, int rangeX = 50 ) : Vector2
x float
y float
attempts int
rangeY int
rangeX int
리턴 Vector2

GetRandomClearTile() 공개 정적인 메소드

public static GetRandomClearTile ( int x, int y, int attempts = 1, int rangeX = 50, int rangeY = 50 ) : Vector2
x int
y int
attempts int
rangeX int
rangeY int
리턴 Vector2

GetWorldSize() 공개 정적인 메소드

public static GetWorldSize ( ) : WorldSize
리턴 WorldSize

IsLarge() 공개 정적인 메소드

public static IsLarge ( this size ) : bool
size this
리턴 bool

IsMedium() 공개 정적인 메소드

public static IsMedium ( this size ) : bool
size this
리턴 bool

IsSmall() 공개 정적인 메소드

public static IsSmall ( this size ) : bool
size this
리턴 bool

IsTileClear() 공개 정적인 메소드

public static IsTileClear ( int x, int y ) : bool
x int
y int
리턴 bool

IsTileValid() 공개 정적인 메소드

public static IsTileValid ( int x, int y ) : bool
x int
y int
리턴 bool

SetParsedTime() 공개 정적인 메소드

public static SetParsedTime ( double time ) : void
time double
리턴 void

SetTime() 공개 정적인 메소드

public static SetTime ( double time, bool dayTime = true ) : void
time double
dayTime bool
리턴 void