C# 클래스 TagTool.Common.TagCacheMap.VersionMap

파일 보기 프로젝트 열기: TheGuardians/TagTool

공개 메소드들

메소드 설명
Add ( int globalIndex, int versionedIndex ) : void

Adds a mapping between a global tag index and a versioned tag index.

GetGlobalTagIndex ( int tag ) : int

Converts a tag to a global tag index which can be used to look up the tag in another version.

GetVersionedTagIndex ( int globalIndex ) : int

Converts a global tag index to a tag index for this version.

메소드 상세

Add() 공개 메소드

Adds a mapping between a global tag index and a versioned tag index.
public Add ( int globalIndex, int versionedIndex ) : void
globalIndex int The global tag index.
versionedIndex int The tag's index in this version.
리턴 void

GetGlobalTagIndex() 공개 메소드

Converts a tag to a global tag index which can be used to look up the tag in another version.
public GetGlobalTagIndex ( int tag ) : int
tag int The index of the tag for this version.
리턴 int

GetVersionedTagIndex() 공개 메소드

Converts a global tag index to a tag index for this version.
public GetVersionedTagIndex ( int globalIndex ) : int
globalIndex int The global tag index returned by for this version.
리턴 int