C# 클래스 OpenMinecraft.Blocks

파일 보기 프로젝트 열기: N3X15/MineEdit

공개 프로퍼티들

프로퍼티 타입 설명
BlockList Block>.Dictionary
Broken bool
BrokenBefore string
TotalImages int
Version string
Water byte

공개 메소드들

메소드 설명
CheckForUpdates ( ) : bool
Clear ( ) : void

Clear all blocks

Find ( string p ) : Block
Get ( byte type ) : Block
Get ( short type ) : Block
GetColor ( byte b ) : Color
GetImagesLeft ( string &image ) : int
Init ( ) : void

Load blocks, update if needed.

Save ( ) : void

Save blocks to file.

UpdateBlocks ( ) : void

Update blocks from web.

UpdateIDs ( ) : void
UpdateItems ( ) : void

Update itms from web.

비공개 메소드들

메소드 설명
GetColorFor ( Block b ) : Color

Get average color of the image for this block

GetQuestionMark ( ) : Bitmap
SetupLighting ( ) : void

From Moose

VersionToTicks ( string v ) : long

메소드 상세

CheckForUpdates() 공개 정적인 메소드

public static CheckForUpdates ( ) : bool
리턴 bool

Clear() 공개 정적인 메소드

Clear all blocks
public static Clear ( ) : void
리턴 void

Find() 공개 정적인 메소드

public static Find ( string p ) : Block
p string
리턴 Block

Get() 공개 정적인 메소드

public static Get ( byte type ) : Block
type byte
리턴 Block

Get() 공개 정적인 메소드

public static Get ( short type ) : Block
type short
리턴 Block

GetColor() 공개 정적인 메소드

public static GetColor ( byte b ) : Color
b byte
리턴 Color

GetImagesLeft() 공개 정적인 메소드

public static GetImagesLeft ( string &image ) : int
image string
리턴 int

Init() 공개 정적인 메소드

Load blocks, update if needed.
public static Init ( ) : void
리턴 void

Save() 공개 정적인 메소드

Save blocks to file.
public static Save ( ) : void
리턴 void

UpdateBlocks() 공개 정적인 메소드

Update blocks from web.
public static UpdateBlocks ( ) : void
리턴 void

UpdateIDs() 공개 정적인 메소드

public static UpdateIDs ( ) : void
리턴 void

UpdateItems() 공개 정적인 메소드

Update itms from web.
public static UpdateItems ( ) : void
리턴 void

프로퍼티 상세

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

All known blocks and items, indexed by Minecraft ID number.
public static Dictionary BlockList
리턴 Block>.Dictionary

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

public static bool Broken
리턴 bool

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

Don't allow saving if past this date.
public static string BrokenBefore
리턴 string

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

Total images for download.
public static int TotalImages
리턴 int

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

Version number. MMDDYYYY format.
public static string Version
리턴 string

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

public static byte Water
리턴 byte