C# 클래스 GamePrefs, tf_client

A static class that wraps PlayerPrefs calls
상속: System.Object
파일 보기 프로젝트 열기: wids-eria/tf_client 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
defaultServer string

공개 메소드들

메소드 설명
GetCharacterClass ( ) : Player.CharacterClass

Gets the character class.

GetMasterVolume ( ) : float

Gets the master volume.

GetServerURL ( ) : string

Get the url of the last server used

GetUserName ( ) : string

Get the name of the last user to successfully have logged in

GetWorldId ( ) : int

Get the id of the most recently used world

SetCharacterClass ( Player, characterClass ) : void

Sets the character class.

SetMasterVolume ( float volume ) : void

Sets the master volume.

SetServerURL ( string url ) : void

Cache the url of the most recent server accessed

SetUser ( string name ) : void

Cache the name of the most recent user

SetWorldId ( int id ) : void

Set the id of the most recently used world

메소드 상세

GetCharacterClass() 공개 정적인 메소드

Gets the character class.
public static GetCharacterClass ( ) : Player.CharacterClass
리턴 Player.CharacterClass

GetMasterVolume() 공개 정적인 메소드

Gets the master volume.
public static GetMasterVolume ( ) : float
리턴 float

GetServerURL() 공개 정적인 메소드

Get the url of the last server used
public static GetServerURL ( ) : string
리턴 string

GetUserName() 공개 정적인 메소드

Get the name of the last user to successfully have logged in
public static GetUserName ( ) : string
리턴 string

GetWorldId() 공개 정적인 메소드

Get the id of the most recently used world
public static GetWorldId ( ) : int
리턴 int

SetCharacterClass() 공개 정적인 메소드

Sets the character class.
public static SetCharacterClass ( Player, characterClass ) : void
characterClass Player, /// Character class. ///
리턴 void

SetMasterVolume() 공개 정적인 메소드

Sets the master volume.
public static SetMasterVolume ( float volume ) : void
volume float /// Volume. ///
리턴 void

SetServerURL() 공개 정적인 메소드

Cache the url of the most recent server accessed
public static SetServerURL ( string url ) : void
url string /// A ///
리턴 void

SetUser() 공개 정적인 메소드

Cache the name of the most recent user
public static SetUser ( string name ) : void
name string /// A ///
리턴 void

SetWorldId() 공개 정적인 메소드

Set the id of the most recently used world
public static SetWorldId ( int id ) : void
id int /// A ///
리턴 void

프로퍼티 상세

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

The default server.
public static string defaultServer
리턴 string