C# 클래스 StringController, UnderworldExporter

Class for holding game strings and returning formatted strings and text
상속: UWEBase
파일 보기 프로젝트 열기: hankmorgan/UnderworldExporter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
instance StringController,

공개 메소드들

메소드 설명
GetFormattedObjectNameUW ( ObjectInteraction, objInt ) : string

Gets the formatted object name for the specified object. Takes into account quantity.

GetFormattedObjectNameUW ( ObjectInteraction, objInt, int Quantity ) : string

Gets the formatted object name for the passed object and a specified quantity.

GetFormattedObjectNameUW ( ObjectInteraction, objInt, string QualityString ) : string

Gets the formatted object name with a description of its qualty. (EG smell fish.)

GetObjectNounUW ( ObjectInteraction, objInt ) : string

Gets the object noun for a passed object

GetObjectNounUW ( int item_id ) : string

Gets the object noun for the specified item id.

GetSimpleObjectNameUW ( ObjectInteraction, objInt ) : string

Gets the simple object name for the pass object.

GetSimpleObjectNameUW ( int item_id ) : string

Gets the simple object name without quantity

GetString ( int BlockNo, int StringNo ) : string

Gets the string at the specified numbers

GetTextureName ( int index ) : string

Gets the name of the texture of the wall/floor looked at.

InitStringController ( string StringFilePath ) : bool

Inits the string controller.

TextureDescription ( int index ) : string

Gets the description for the texture looked at.

비공개 메소드들

메소드 설명
Awake ( ) : void
Load ( string fileName ) : bool

Load the strings in from an external txt file. Parses the values into the hashtable.

메소드 상세

GetFormattedObjectNameUW() 공개 메소드

Gets the formatted object name for the specified object. Takes into account quantity.
public GetFormattedObjectNameUW ( ObjectInteraction, objInt ) : string
objInt ObjectInteraction, Object int.
리턴 string

GetFormattedObjectNameUW() 공개 메소드

Gets the formatted object name for the passed object and a specified quantity.
public GetFormattedObjectNameUW ( ObjectInteraction, objInt, int Quantity ) : string
objInt ObjectInteraction, Object int.
Quantity int Quantity that I want to display
리턴 string

GetFormattedObjectNameUW() 공개 메소드

Gets the formatted object name with a description of its qualty. (EG smell fish.)
public GetFormattedObjectNameUW ( ObjectInteraction, objInt, string QualityString ) : string
objInt ObjectInteraction, Object int.
QualityString string Quality string.
리턴 string

GetObjectNounUW() 공개 메소드

Gets the object noun for a passed object
public GetObjectNounUW ( ObjectInteraction, objInt ) : string
objInt ObjectInteraction, Object int.
리턴 string

GetObjectNounUW() 공개 메소드

Gets the object noun for the specified item id.
public GetObjectNounUW ( int item_id ) : string
item_id int Item identifier.
리턴 string

GetSimpleObjectNameUW() 공개 메소드

Gets the simple object name for the pass object.
public GetSimpleObjectNameUW ( ObjectInteraction, objInt ) : string
objInt ObjectInteraction, Object int.
리턴 string

GetSimpleObjectNameUW() 공개 메소드

Gets the simple object name without quantity
public GetSimpleObjectNameUW ( int item_id ) : string
item_id int Item identifier.
리턴 string

GetString() 공개 메소드

Gets the string at the specified numbers
public GetString ( int BlockNo, int StringNo ) : string
BlockNo int Block no.
StringNo int String no.
리턴 string

GetTextureName() 공개 메소드

Gets the name of the texture of the wall/floor looked at.
public GetTextureName ( int index ) : string
index int Index.
리턴 string

InitStringController() 공개 메소드

Inits the string controller.
public InitStringController ( string StringFilePath ) : bool
StringFilePath string String file path.
리턴 bool

TextureDescription() 공개 메소드

Gets the description for the texture looked at.
public TextureDescription ( int index ) : string
index int Index.
리턴 string

프로퍼티 상세

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

The instance of this class
public static StringController, instance
리턴 StringController,