C# 클래스 SagaLib.Global

The global class contains objects that can be usefull throughout the entire application.
파일 보기 프로젝트 열기: Willyham/SagaRO2

공개 프로퍼티들

프로퍼티 타입 설명
MAX_SIGHT_RANGE uint
Random RandomF
Unicode System.Text.UnicodeEncoding
clientMananger ClientManager

공개 메소드들

메소드 설명
MakeHourDelay ( int hours ) : int

Convert hours into task delay time

MakeMilliDelay ( int milliseconds ) : int

Convert milliseconds into task delay time

MakeMinDelay ( int minutes ) : int

Convert minutes into task delay time

MakeSecDelay ( int seconds ) : int

Convert seconds into task delay time

MakeSightRange ( uint range ) : uint
SetStringLength ( string s, int length ) : string

Make sure the length of a string doesn't exceed a given maximum length.

메소드 상세

MakeHourDelay() 공개 정적인 메소드

Convert hours into task delay time
public static MakeHourDelay ( int hours ) : int
hours int
리턴 int

MakeMilliDelay() 공개 정적인 메소드

Convert milliseconds into task delay time
public static MakeMilliDelay ( int milliseconds ) : int
milliseconds int
리턴 int

MakeMinDelay() 공개 정적인 메소드

Convert minutes into task delay time
public static MakeMinDelay ( int minutes ) : int
minutes int
리턴 int

MakeSecDelay() 공개 정적인 메소드

Convert seconds into task delay time
public static MakeSecDelay ( int seconds ) : int
seconds int
리턴 int

MakeSightRange() 공개 정적인 메소드

public static MakeSightRange ( uint range ) : uint
range uint
리턴 uint

SetStringLength() 공개 정적인 메소드

Make sure the length of a string doesn't exceed a given maximum length.
public static SetStringLength ( string s, int length ) : string
s string String to process.
length int Maximum length for the string.
리턴 string

프로퍼티 상세

MAX_SIGHT_RANGE 공개적으로 정적으로 프로퍼티

public static uint MAX_SIGHT_RANGE
리턴 uint

Random 공개적으로 정적으로 프로퍼티

A random number generator.
public static RandomF Random
리턴 RandomF

Unicode 공개적으로 정적으로 프로퍼티

Unicode encoder to encode en decode from bytes to string and visa versa.
public static UnicodeEncoding,System.Text Unicode
리턴 System.Text.UnicodeEncoding

clientMananger 공개적으로 정적으로 프로퍼티

The global clientmananger.
public static ClientManager,SagaLib clientMananger
리턴 ClientManager