C# 클래스 MineFrog.Level

파일 보기 프로젝트 열기: Merlin33069/MineFrog 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BlockData byte[]
BlockPosCreationAverager Averager
Generator LevelGenerator
IsUnloaded bool
Name string
Physics PhysicsHandler
Players List
SizeX ushort
SizeXZmultiplied int
SizeY ushort
SizeZ ushort
SpawnPos Pos

Private Properties

프로퍼티 타입 설명
DirectoryCheck void
PhysicsBlockChange bool
PlayerBlockChange bool
SaveCheck void
UncompressAndCreateHandle void

공개 메소드들

메소드 설명
BlockChange ( ushort x, ushort y, ushort z, byte type ) : bool
Create ( ushort inx, ushort iny, ushort inz, string type ) : void
Find ( string name ) : Level
FullSave ( ) : void
GetTile ( BlockPos pos ) : MCBlocks
GetTile ( int pos ) : byte
GetTile ( ushort x, ushort y, ushort z ) : byte
GetTileByOffset ( BlockPos pos, int diffX, int diffY, int diffZ ) : MCBlocks
IntOffset ( int pos, int x, int y, int z ) : int
IntToBlockPos ( int pos ) : BlockPos
Level ( string fileName, bool shouldCreateIfNotExist ) : System
Level ( string name, ushort x, ushort y, ushort z ) : System
Level ( string name, ushort x, ushort y, ushort z, string type ) : System
Load ( string name ) : void
NotInBounds ( BlockPos pos ) : bool
NotInBounds ( ushort x, ushort y, ushort z ) : bool
PhysicsBlockChange ( BlockPos pos, MCBlocks type ) : bool
PhysicsCheck ( ushort inX, ushort inY, ushort inZ ) : void
PosToInt ( BlockPos pos ) : int
PosToInt ( ushort x, ushort y, ushort z ) : int
SetTile ( ushort x, ushort y, ushort z, byte type ) : bool
Unload ( ) : void

비공개 메소드들

메소드 설명
DirectoryCheck ( ) : void
PhysicsBlockChange ( BlockPos pos, byte type ) : bool
PlayerBlockChange ( Player changer, ushort x, ushort y, ushort z, byte type ) : bool
SaveCheck ( ) : void
UncompressAndCreateHandle ( ) : void

메소드 상세

BlockChange() 공개 메소드

public BlockChange ( ushort x, ushort y, ushort z, byte type ) : bool
x ushort
y ushort
z ushort
type byte
리턴 bool

Create() 공개 메소드

public Create ( ushort inx, ushort iny, ushort inz, string type ) : void
inx ushort
iny ushort
inz ushort
type string
리턴 void

Find() 공개 정적인 메소드

public static Find ( string name ) : Level
name string
리턴 Level

FullSave() 공개 메소드

public FullSave ( ) : void
리턴 void

GetTile() 공개 메소드

public GetTile ( BlockPos pos ) : MCBlocks
pos BlockPos
리턴 MCBlocks

GetTile() 공개 메소드

public GetTile ( int pos ) : byte
pos int
리턴 byte

GetTile() 공개 메소드

public GetTile ( ushort x, ushort y, ushort z ) : byte
x ushort
y ushort
z ushort
리턴 byte

GetTileByOffset() 공개 메소드

public GetTileByOffset ( BlockPos pos, int diffX, int diffY, int diffZ ) : MCBlocks
pos BlockPos
diffX int
diffY int
diffZ int
리턴 MCBlocks

IntOffset() 공개 메소드

public IntOffset ( int pos, int x, int y, int z ) : int
pos int
x int
y int
z int
리턴 int

IntToBlockPos() 공개 메소드

public IntToBlockPos ( int pos ) : BlockPos
pos int
리턴 BlockPos

Level() 공개 메소드

public Level ( string fileName, bool shouldCreateIfNotExist ) : System
fileName string
shouldCreateIfNotExist bool
리턴 System

Level() 공개 메소드

public Level ( string name, ushort x, ushort y, ushort z ) : System
name string
x ushort
y ushort
z ushort
리턴 System

Level() 공개 메소드

public Level ( string name, ushort x, ushort y, ushort z, string type ) : System
name string
x ushort
y ushort
z ushort
type string
리턴 System

Load() 공개 메소드

public Load ( string name ) : void
name string
리턴 void

NotInBounds() 공개 메소드

public NotInBounds ( BlockPos pos ) : bool
pos BlockPos
리턴 bool

NotInBounds() 공개 메소드

public NotInBounds ( ushort x, ushort y, ushort z ) : bool
x ushort
y ushort
z ushort
리턴 bool

PhysicsBlockChange() 공개 메소드

public PhysicsBlockChange ( BlockPos pos, MCBlocks type ) : bool
pos BlockPos
type MCBlocks
리턴 bool

PhysicsCheck() 공개 메소드

public PhysicsCheck ( ushort inX, ushort inY, ushort inZ ) : void
inX ushort
inY ushort
inZ ushort
리턴 void

PosToInt() 공개 메소드

public PosToInt ( BlockPos pos ) : int
pos BlockPos
리턴 int

PosToInt() 공개 메소드

public PosToInt ( ushort x, ushort y, ushort z ) : int
x ushort
y ushort
z ushort
리턴 int

SetTile() 공개 메소드

public SetTile ( ushort x, ushort y, ushort z, byte type ) : bool
x ushort
y ushort
z ushort
type byte
리턴 bool

Unload() 공개 메소드

public Unload ( ) : void
리턴 void

프로퍼티 상세

BlockData 공개적으로 프로퍼티

public byte[] BlockData
리턴 byte[]

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

public static Averager,MineFrog BlockPosCreationAverager
리턴 Averager

Generator 공개적으로 프로퍼티

public LevelGenerator,MineFrog Generator
리턴 LevelGenerator

IsUnloaded 공개적으로 프로퍼티

public bool IsUnloaded
리턴 bool

Name 공개적으로 프로퍼티

public string Name
리턴 string

Physics 공개적으로 프로퍼티

public PhysicsHandler,MineFrog Physics
리턴 PhysicsHandler

Players 공개적으로 프로퍼티

public List Players
리턴 List

SizeX 공개적으로 프로퍼티

public ushort SizeX
리턴 ushort

SizeXZmultiplied 공개적으로 프로퍼티

public int SizeXZmultiplied
리턴 int

SizeY 공개적으로 프로퍼티

public ushort SizeY
리턴 ushort

SizeZ 공개적으로 프로퍼티

public ushort SizeZ
리턴 ushort

SpawnPos 공개적으로 프로퍼티

public Pos,MineFrog SpawnPos
리턴 Pos