C# 클래스 ManicDigger.ManicDiggerGameWindow

파일 보기 프로젝트 열기: GlennMR/800Craft-Client 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ChatFontSize int
ChatLinesMaxToDraw int
ChatScreenExpireTimeSeconds int
DisconnectMessage string
Disconnected bool
ENABLE_DRAW_TEST_CHARACTER bool
ENABLE_MAINMENU bool
ENABLE_TPP_VIEW bool
GameUrl string
clearcolor Color
enable_finiteinventory bool
ff FontFamily
fn Font
fov float
mppassword string
particleEffectBlockBreak ParticleEffectBlockBreak
pfc System.Drawing.Text.PrivateFontCollection
pickcubepos Vector3
playertexturedefaultfilename string
username string

Private Properties

프로퍼티 타입 설명
BlockPlayerLegs int?
BlockUnderPlayer int?
BoolCommandArgument bool
CheckClippingQE bool
ConnectToInternetGame void
Draw2d void
DrawAim void
DrawBlockInfo void
DrawCharacter void
DrawConnectedPlayersList void
DrawCraftingRecipes void
DrawFpsHistoryGraph void
DrawLinesAroundSelectedCube void
DrawMapLoading void
DrawMaterialSelector void
DrawMouseCursor void
DrawPlayerNames void
DrawPlayers void
DrawScreenshotFlash void
DrawSkySphere void
DrawTypingBuffer void
EscapeMenuActionMain void
EscapeMenuActionOptions void
EscapeMenuMouse void
FppCamera Matrix4
GetMinecraftPasswordFilePath string
GetPlayerTexture int
GuiActionGenerateNewMap void
GuiActionLoadGame void
GuiActionSaveGame void
GuiStateBackToGame void
GuiStateEscapeMenu void
GuiStateSetMapLoading void
HandleMaterialKeys void
InterpolateColor System.Color
InventoryGetSelected int?
IsInLeft bool
IsPowerOfTwo bool
IsTileEmptyForPhysics bool
IsTileEmptyForPhysicsClose bool
MakeTextTexture CachedTexture
MoveSpeedNow float
NextPowerOfTwo uint
OnPick void
OverheadCamera Matrix4
SaveGameExists bool
Set3dProjection void
Set3dProjection void
SetAmbientLight void
SetFog void
ToMapPos Vector3
UpdateMouseViewportControl void
UpdatePicking void
UpdateTitleFps void
VectorAngleGet float
WhiteTexture int
getblockheight float
soundwalkcurrent string[]
xcenter int
ycenter int

공개 메소드들

메소드 설명
AddChatline ( string s ) : void
ClientCommand ( string s ) : void
CraftingMouse ( ) : void
DeleteUnusedCachedTextures ( ) : void
Draw2dBitmapFile ( string filename, float x1, float y1, float width, float height ) : void
Draw2dText ( string text, float x, float y, float fontsize, System.Color color ) : void
Draw2dTexture ( int textureid, float x1, float y1, float width, float height, int inAtlasId ) : void
Draw2dTexture ( int textureid, float x1, float y1, float width, float height, int inAtlasId, System.Color color ) : void
Draw2dTextures ( List todraw, int textureid ) : void
DrawCharacters ( float dt ) : void
DrawChatLines ( bool all ) : void
DrawDisconnected ( string Message ) : void
DrawEscapeMenu ( ) : void
DrawInventory ( ) : void
DrawLineLoop ( Vector3 points ) : void
DrawMainMenu ( ) : void
DrawMap ( ) : void
EscapeMenuAction ( ) : void
FrameTick ( FrameEventArgs e ) : void
GrabScreenshot ( ) : Bitmap
GuiStateCraft ( List recipes, List blocks, Action craftingRecipeSelected ) : void
InventoryMouse ( ) : void
InventorySelectionMove ( Direction4 dir ) : void
Keyboard_KeyDown ( object sender, OpenTK e ) : void
Keyboard_KeyUp ( object sender, OpenTK e ) : void
LoadPassword ( ) : void
LoadTexture ( Bitmap bmp ) : int
LoadTexture ( string filename ) : int
Log ( string p ) : void
MainMenuAction ( ) : void
ManicDiggerGameWindow ( ) : System
ManicDiggerGameWindow_KeyPress ( object sender, OpenTK e ) : void
Mouse_Move ( object sender, OpenTK e ) : void
Mouse_WheelChanged ( object sender, OpenTK e ) : void
OrthoMode ( ) : void
PerspectiveMode ( ) : void
SetTileAndUpdate ( Vector3 pos, int type ) : void
StripColors ( string input ) : string

Strips all ampersand color codes and doubled-up ampersands.

TextSize ( string text, float fontsize ) : SizeF
UpdateAllTiles ( ) : void
UpdateMousePosition ( ) : void
UpdateWalkSound ( double dt ) : void
maploaded ( ) : void
network_MapLoaded ( object sender, MapLoadedEventArgs e ) : void
newnetwork_MapLoadingProgress ( object sender, MapLoadingProgressEventArgs e ) : void

보호된 메소드들

메소드 설명
OnClosed ( EventArgs e ) : void
OnFocusedChanged ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnUpdateFrame ( FrameEventArgs e ) : void

비공개 메소드들

메소드 설명
BlockPlayerLegs ( ) : int?
BlockUnderPlayer ( ) : int?
BoolCommandArgument ( string arguments ) : bool
CheckClippingQE ( Vector3 NewPosition ) : bool
ConnectToInternetGame ( string qusername, string qpass, string qgameurl ) : void
Draw2d ( ) : void
DrawAim ( ) : void
DrawBlockInfo ( ) : void
DrawCharacter ( AnimationState animstate, Vector3 pos, byte heading, byte pitch, bool moves, float dt, int playertexture, AnimationHint animationhint ) : void
DrawConnectedPlayersList ( ) : void
DrawCraftingRecipes ( ) : void
DrawFpsHistoryGraph ( ) : void
DrawLinesAroundSelectedCube ( Vector3 posx ) : void
DrawMapLoading ( ) : void
DrawMaterialSelector ( ) : void
DrawMouseCursor ( ) : void
DrawPlayerNames ( ) : void
DrawPlayers ( float dt ) : void
DrawScreenshotFlash ( ) : void
DrawSkySphere ( ) : void
DrawTypingBuffer ( ) : void
EscapeMenuActionMain ( ) : void
EscapeMenuActionOptions ( ) : void
EscapeMenuMouse ( ) : void
FppCamera ( ) : Matrix4
GetMinecraftPasswordFilePath ( ) : string
GetPlayerTexture ( int playerid ) : int
GuiActionGenerateNewMap ( ) : void
GuiActionLoadGame ( ) : void
GuiActionSaveGame ( ) : void
GuiStateBackToGame ( ) : void
GuiStateEscapeMenu ( ) : void
GuiStateSetMapLoading ( ) : void
HandleMaterialKeys ( OpenTK e ) : void
InterpolateColor ( float progress ) : System.Color
InventoryGetSelected ( ) : int?
IsInLeft ( Vector3 player_yy, Vector3 tile_yy ) : bool
IsPowerOfTwo ( uint x ) : bool
IsTileEmptyForPhysics ( int x, int y, int z ) : bool
IsTileEmptyForPhysicsClose ( int x, int y, int z ) : bool
MakeTextTexture ( Text t ) : CachedTexture
MoveSpeedNow ( ) : float
NextPowerOfTwo ( uint x ) : uint
OnPick ( BlockPosSide pick0 ) : void
OverheadCamera ( ) : Matrix4
SaveGameExists ( ) : bool
Set3dProjection ( ) : void
Set3dProjection ( float zfar ) : void
SetAmbientLight ( Color c ) : void
SetFog ( ) : void
ToMapPos ( Vector3 a ) : Vector3
UpdateMouseViewportControl ( FrameEventArgs e ) : void
UpdatePicking ( ) : void
UpdateTitleFps ( FrameEventArgs e ) : void
VectorAngleGet ( Vector3 q ) : float
WhiteTexture ( ) : int
getblockheight ( int x, int y, int z ) : float
soundwalkcurrent ( ) : string[]
xcenter ( float width ) : int
ycenter ( float height ) : int

메소드 상세

AddChatline() 공개 메소드

public AddChatline ( string s ) : void
s string
리턴 void

ClientCommand() 공개 메소드

public ClientCommand ( string s ) : void
s string
리턴 void

CraftingMouse() 공개 메소드

public CraftingMouse ( ) : void
리턴 void

DeleteUnusedCachedTextures() 공개 메소드

public DeleteUnusedCachedTextures ( ) : void
리턴 void

Draw2dBitmapFile() 공개 메소드

public Draw2dBitmapFile ( string filename, float x1, float y1, float width, float height ) : void
filename string
x1 float
y1 float
width float
height float
리턴 void

Draw2dText() 공개 메소드

public Draw2dText ( string text, float x, float y, float fontsize, System.Color color ) : void
text string
x float
y float
fontsize float
color System.Color
리턴 void

Draw2dTexture() 공개 메소드

public Draw2dTexture ( int textureid, float x1, float y1, float width, float height, int inAtlasId ) : void
textureid int
x1 float
y1 float
width float
height float
inAtlasId int
리턴 void

Draw2dTexture() 공개 메소드

public Draw2dTexture ( int textureid, float x1, float y1, float width, float height, int inAtlasId, System.Color color ) : void
textureid int
x1 float
y1 float
width float
height float
inAtlasId int
color System.Color
리턴 void

Draw2dTextures() 공개 메소드

public Draw2dTextures ( List todraw, int textureid ) : void
todraw List
textureid int
리턴 void

DrawCharacters() 공개 메소드

public DrawCharacters ( float dt ) : void
dt float
리턴 void

DrawChatLines() 공개 메소드

public DrawChatLines ( bool all ) : void
all bool
리턴 void

DrawDisconnected() 공개 메소드

public DrawDisconnected ( string Message ) : void
Message string
리턴 void

DrawEscapeMenu() 공개 메소드

public DrawEscapeMenu ( ) : void
리턴 void

DrawInventory() 공개 메소드

public DrawInventory ( ) : void
리턴 void

DrawLineLoop() 공개 메소드

public DrawLineLoop ( Vector3 points ) : void
points Vector3
리턴 void

DrawMainMenu() 공개 메소드

public DrawMainMenu ( ) : void
리턴 void

DrawMap() 공개 메소드

public DrawMap ( ) : void
리턴 void

EscapeMenuAction() 공개 메소드

public EscapeMenuAction ( ) : void
리턴 void

FrameTick() 공개 메소드

public FrameTick ( FrameEventArgs e ) : void
e FrameEventArgs
리턴 void

GrabScreenshot() 공개 메소드

public GrabScreenshot ( ) : Bitmap
리턴 Bitmap

GuiStateCraft() 공개 메소드

public GuiStateCraft ( List recipes, List blocks, Action craftingRecipeSelected ) : void
recipes List
blocks List
craftingRecipeSelected Action
리턴 void

InventoryMouse() 공개 메소드

public InventoryMouse ( ) : void
리턴 void

InventorySelectionMove() 공개 메소드

public InventorySelectionMove ( Direction4 dir ) : void
dir Direction4
리턴 void

Keyboard_KeyDown() 공개 메소드

public Keyboard_KeyDown ( object sender, OpenTK e ) : void
sender object
e OpenTK
리턴 void

Keyboard_KeyUp() 공개 메소드

public Keyboard_KeyUp ( object sender, OpenTK e ) : void
sender object
e OpenTK
리턴 void

LoadPassword() 공개 메소드

public LoadPassword ( ) : void
리턴 void

LoadTexture() 공개 메소드

public LoadTexture ( Bitmap bmp ) : int
bmp Bitmap
리턴 int

LoadTexture() 공개 메소드

public LoadTexture ( string filename ) : int
filename string
리턴 int

Log() 공개 메소드

public Log ( string p ) : void
p string
리턴 void

MainMenuAction() 공개 메소드

public MainMenuAction ( ) : void
리턴 void

ManicDiggerGameWindow() 공개 메소드

public ManicDiggerGameWindow ( ) : System
리턴 System

ManicDiggerGameWindow_KeyPress() 공개 메소드

public ManicDiggerGameWindow_KeyPress ( object sender, OpenTK e ) : void
sender object
e OpenTK
리턴 void

Mouse_Move() 공개 메소드

public Mouse_Move ( object sender, OpenTK e ) : void
sender object
e OpenTK
리턴 void

Mouse_WheelChanged() 공개 메소드

public Mouse_WheelChanged ( object sender, OpenTK e ) : void
sender object
e OpenTK
리턴 void

OnClosed() 보호된 메소드

protected OnClosed ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnFocusedChanged() 보호된 메소드

protected OnFocusedChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLoad() 보호된 메소드

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnRenderFrame() 보호된 메소드

protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
리턴 void

OnResize() 보호된 메소드

protected OnResize ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnUpdateFrame() 보호된 메소드

protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs
리턴 void

OrthoMode() 공개 메소드

public OrthoMode ( ) : void
리턴 void

PerspectiveMode() 공개 메소드

public PerspectiveMode ( ) : void
리턴 void

SetTileAndUpdate() 공개 메소드

public SetTileAndUpdate ( Vector3 pos, int type ) : void
pos Vector3
type int
리턴 void

StripColors() 공개 정적인 메소드

Strips all ampersand color codes and doubled-up ampersands.
public static StripColors ( string input ) : string
input string
리턴 string

TextSize() 공개 정적인 메소드

public static TextSize ( string text, float fontsize ) : SizeF
text string
fontsize float
리턴 SizeF

UpdateAllTiles() 공개 메소드

public UpdateAllTiles ( ) : void
리턴 void

UpdateMousePosition() 공개 메소드

public UpdateMousePosition ( ) : void
리턴 void

UpdateWalkSound() 공개 메소드

public UpdateWalkSound ( double dt ) : void
dt double
리턴 void

maploaded() 공개 메소드

public maploaded ( ) : void
리턴 void

network_MapLoaded() 공개 메소드

public network_MapLoaded ( object sender, MapLoadedEventArgs e ) : void
sender object
e MapLoadedEventArgs
리턴 void

newnetwork_MapLoadingProgress() 공개 메소드

public newnetwork_MapLoadingProgress ( object sender, MapLoadingProgressEventArgs e ) : void
sender object
e MapLoadingProgressEventArgs
리턴 void

프로퍼티 상세

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

public static int ChatFontSize
리턴 int

ChatLinesMaxToDraw 공개적으로 프로퍼티

public int ChatLinesMaxToDraw
리턴 int

ChatScreenExpireTimeSeconds 공개적으로 프로퍼티

public int ChatScreenExpireTimeSeconds
리턴 int

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

public static string DisconnectMessage
리턴 string

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

public static bool Disconnected
리턴 bool

ENABLE_DRAW_TEST_CHARACTER 공개적으로 프로퍼티

public bool ENABLE_DRAW_TEST_CHARACTER
리턴 bool

ENABLE_MAINMENU 공개적으로 프로퍼티

public bool ENABLE_MAINMENU
리턴 bool

ENABLE_TPP_VIEW 공개적으로 프로퍼티

public bool ENABLE_TPP_VIEW
리턴 bool

GameUrl 공개적으로 프로퍼티

public string GameUrl
리턴 string

clearcolor 공개적으로 프로퍼티

public Color clearcolor
리턴 Color

enable_finiteinventory 공개적으로 프로퍼티

public bool enable_finiteinventory
리턴 bool

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

public static FontFamily ff
리턴 FontFamily

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

public static Font fn
리턴 Font

fov 공개적으로 프로퍼티

public float fov
리턴 float

mppassword 공개적으로 프로퍼티

public string mppassword
리턴 string

particleEffectBlockBreak 공개적으로 프로퍼티

public ParticleEffectBlockBreak particleEffectBlockBreak
리턴 ParticleEffectBlockBreak

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

public static System.Drawing.Text.PrivateFontCollection pfc
리턴 System.Drawing.Text.PrivateFontCollection

pickcubepos 공개적으로 프로퍼티

public Vector3 pickcubepos
리턴 Vector3

playertexturedefaultfilename 공개적으로 프로퍼티

public string playertexturedefaultfilename
리턴 string

username 공개적으로 프로퍼티

public string username
리턴 string