C# 클래스 Nikki.Support.MostWanted.Framework.SlotTypeManager

A Manager{T} for SlotType collections.
상속: Manager
파일 보기 프로젝트 열기: SpeedReflect/Nikki

공개 메소드들

메소드 설명
Export ( string cname, BinaryWriter bw, bool serialized = true ) : void

Exports collection with CollectionName specified to a filename provided.

Import ( SerializeType type, BinaryReader br ) : void

Imports collection from file provided and attempts to add it to the end of this Manager{T} in case it does not exist.

SlotTypeManager ( Datamap db ) : System

Initializes new instance of SlotTypeManager.

비공개 메소드들

메소드 설명
Assemble ( BinaryWriter bw, string mark ) : void

Assembles collection data into byte buffers.

CreationCheck ( string cname ) : void

Checks whether CollectionName provided allows creation of a new collection.

Disassemble ( BinaryReader br, Block block ) : void

Disassembles data into separate collections in this SlotTypeManager.

메소드 상세

Export() 공개 메소드

Exports collection with CollectionName specified to a filename provided.
public Export ( string cname, BinaryWriter bw, bool serialized = true ) : void
cname string CollectionName of a collection to export.
bw BinaryWriter to write data with.
serialized bool True if collection exported should be serialized; /// false otherwise.
리턴 void

Import() 공개 메소드

Imports collection from file provided and attempts to add it to the end of this Manager{T} in case it does not exist.
public Import ( SerializeType type, BinaryReader br ) : void
type SerializeType Type of serialization of a collection.
br BinaryReader to read data with.
리턴 void

SlotTypeManager() 공개 메소드

Initializes new instance of SlotTypeManager.
public SlotTypeManager ( Datamap db ) : System
db Datamap to which this manager belongs to.
리턴 System