C# 클래스 HaloMap.Map.Map

The map.
파일 보기 프로젝트 열기: troymac1ure/Entity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BR System.IO.BinaryReader
BSP BSPContainer
BW System.IO.BinaryWriter
BitmapLibary BitmapLibraryLayout
DisplayType Meta.ItemType
FS System.IO.FileStream
FileNames FileNamesInfo
Functions MiscFunctions
HaloVersion HaloVersionEnum
IndexHeader IndexHeaderInfo
MapHeader MapHeaderInfo
MetaInfo ObjectIndexInfo
PrimaryMagic int
SecondaryMagic int
SelectedMeta HaloMap.Meta.Meta
Strings StringsInfo
Unicode UnicodeTableReader
filePath string
isOpen bool
openMapType MapTypes
ugh HaloMap.H2MetaContainers.ugh_

공개 메소드들

메소드 설명
BufferReadWrite ( BinaryReader &BR, BinaryWriter &BW, int size ) : void

The buffer read write.

CloseMap ( ) : void

The close map.

GetMetaFromTagIndex ( int tag, Map map, bool manualScan, bool parse ) : Meta

The get meta from tag index.

LoadFromFile ( string fileName ) : Map

Loads a .map file and returns it as a map object

OpenMap ( MapTypes type ) : void

Opens the

OpenMap ( MapTypes type, bool readOnly ) : void

Opens a Halo/Halo 2 based map for reading / writing (not readonly).

Refresh ( Map map ) : Map

Reloads the map.

This needs to use a return value, because the loaded map changes were not being saved. They would be lost when the function returned and we ?cannot pass Map as a ref?.

Sign ( ) : void

The sign.

비공개 메소드들

메소드 설명
LoadMap ( ) : void

reads info from the current open map file and stores in it this map object

Map ( string fileName ) : System

Initializes a new instance of the Map class. An internal constructor so this class must be made via static map.FromFile...

메소드 상세

BufferReadWrite() 공개 메소드

The buffer read write.
public BufferReadWrite ( BinaryReader &BR, BinaryWriter &BW, int size ) : void
BR System.IO.BinaryReader The br.
BW System.IO.BinaryWriter The bw.
size int The size.
리턴 void

CloseMap() 공개 메소드

The close map.
public CloseMap ( ) : void
리턴 void

GetMetaFromTagIndex() 공개 정적인 메소드

The get meta from tag index.
public static GetMetaFromTagIndex ( int tag, Map map, bool manualScan, bool parse ) : Meta
tag int The tag.
map Map The map.
manualScan bool The manual scan.
parse bool The parse.
리턴 HaloMap.Meta.Meta

LoadFromFile() 공개 정적인 메소드

Loads a .map file and returns it as a map object
public static LoadFromFile ( string fileName ) : Map
fileName string The file Name.
리턴 Map

OpenMap() 공개 메소드

Opens the
public OpenMap ( MapTypes type ) : void
type MapTypes The type.
리턴 void

OpenMap() 공개 메소드

Opens a Halo/Halo 2 based map for reading / writing (not readonly).
public OpenMap ( MapTypes type, bool readOnly ) : void
type MapTypes MapTypes.(Internal, MainMenu, MPShared, SPShared, Bitmaps)
readOnly bool opens map file as read-only (does NOT apply to internal map file)
리턴 void

Refresh() 공개 정적인 메소드

Reloads the map.
This needs to use a return value, because the loaded map changes were not being saved. They would be lost when the function returned and we ?cannot pass Map as a ref?.
public static Refresh ( Map map ) : Map
map Map The map.
리턴 Map

Sign() 공개 메소드

The sign.
public Sign ( ) : void
리턴 void

프로퍼티 상세

BR 공개적으로 프로퍼티

The br.
public BinaryReader,System.IO BR
리턴 System.IO.BinaryReader

BSP 공개적으로 프로퍼티

The bsp.
public BSPContainer,HaloMap.Map BSP
리턴 BSPContainer

BW 공개적으로 프로퍼티

The bw.
public BinaryWriter,System.IO BW
리턴 System.IO.BinaryWriter

BitmapLibary 공개적으로 프로퍼티

The bitmap libary.
public BitmapLibraryLayout,HaloMap.Map BitmapLibary
리턴 BitmapLibraryLayout

DisplayType 공개적으로 프로퍼티

The display type.
public Meta.ItemType DisplayType
리턴 Meta.ItemType

FS 공개적으로 프로퍼티

The fs.
public FileStream,System.IO FS
리턴 System.IO.FileStream

FileNames 공개적으로 프로퍼티

The file names.
public FileNamesInfo,HaloMap.Map FileNames
리턴 FileNamesInfo

Functions 공개적으로 프로퍼티

The functions.
public MiscFunctions,HaloMap.Map Functions
리턴 MiscFunctions

HaloVersion 공개적으로 프로퍼티

The halo version.
public HaloVersionEnum HaloVersion
리턴 HaloVersionEnum

IndexHeader 공개적으로 프로퍼티

The index header.
public IndexHeaderInfo,HaloMap.Map IndexHeader
리턴 IndexHeaderInfo

MapHeader 공개적으로 프로퍼티

The map header.
public MapHeaderInfo,HaloMap.Map MapHeader
리턴 MapHeaderInfo

MetaInfo 공개적으로 프로퍼티

The meta info.
public ObjectIndexInfo,HaloMap.Map MetaInfo
리턴 ObjectIndexInfo

PrimaryMagic 공개적으로 프로퍼티

The primary magic.
public int PrimaryMagic
리턴 int

SecondaryMagic 공개적으로 프로퍼티

The secondary magic.
public int SecondaryMagic
리턴 int

SelectedMeta 공개적으로 프로퍼티

The selected meta.
public Meta,HaloMap.Meta SelectedMeta
리턴 HaloMap.Meta.Meta

Strings 공개적으로 프로퍼티

The strings.
public StringsInfo,HaloMap.Map Strings
리턴 StringsInfo

Unicode 공개적으로 프로퍼티

The unicode.
public UnicodeTableReader,HaloMap.Map Unicode
리턴 UnicodeTableReader

filePath 공개적으로 프로퍼티

The file path.
public string filePath
리턴 string

isOpen 공개적으로 프로퍼티

The is open.
public bool isOpen
리턴 bool

openMapType 공개적으로 프로퍼티

The open map type.
public MapTypes openMapType
리턴 MapTypes

ugh 공개적으로 프로퍼티

The ugh.
public ugh_,HaloMap.H2MetaContainers ugh
리턴 HaloMap.H2MetaContainers.ugh_