C# 클래스 TagTool.Common.TagCacheMap

A lookup table which can be used to find a tag's equivalents in different game versions.
파일 보기 프로젝트 열기: TheGuardians/TagTool 1 사용 예제들

공개 메소드들

메소드 설명
Add ( string version1, int index1, string version2, int index2 ) : void

Connects a tag index to a tag in another version.

ParseCsv ( TextReader reader ) : TagCacheMap

Parses a map from a CSV.

Translate ( string version1, int index1, string version2 ) : int

Translates a tag index between two versions.

WriteCsv ( TextWriter writer ) : void

Writes the map out to a CSV.

메소드 상세

Add() 공개 메소드

Connects a tag index to a tag in another version.
public Add ( string version1, int index1, string version2, int index2 ) : void
version1 string The first version.
index1 int The tag index in the first version.
version2 string The second version.
index2 int The tag index in the second version.
리턴 void

ParseCsv() 공개 정적인 메소드

Parses a map from a CSV.
public static ParseCsv ( TextReader reader ) : TagCacheMap
reader System.IO.TextReader The reader to read from.
리턴 TagCacheMap

Translate() 공개 메소드

Translates a tag index between two versions.
public Translate ( string version1, int index1, string version2 ) : int
version1 string The version of the index to translate.
index1 int The tag index.
version2 string The version to get the equivalent tag index in.
리턴 int

WriteCsv() 공개 메소드

Writes the map out to a CSV.
public WriteCsv ( TextWriter writer ) : void
writer System.IO.TextWriter The writer to write to.
리턴 void