C# 클래스 SfSdk.Data.Character

상속: ICharacter, INotifyPropertyChanged
파일 보기 프로젝트 열기: ebeeb/SfSdk 1 사용 예제들

공개 메소드들

메소드 설명
Character ( ICharacterResponse response, string username, ISession session, Uri serverUri ) : System

Creates a new Character instance, calculated from a CharacterResponse. The character's loaded status is initially set to true.

Character ( int rank, string username, string guild, int level, int honor, ISession session ) : System

Creates a new Character instance, without its details loaded.

Refresh ( bool force = false ) : System.Threading.Tasks.Task

Refreshes the data of the character by requesting it again.

보호된 메소드들

메소드 설명
NotifyOfPropertyChange ( [ propertyName = null ) : void

비공개 메소드들

메소드 설명
LoadFromSavegame ( ISavegame sg ) : void

메소드 상세

Character() 공개 메소드

Creates a new Character instance, calculated from a CharacterResponse. The character's loaded status is initially set to true.
When savegame is empty or username is null or empty. When session or response is null.
public Character ( ICharacterResponse response, string username, ISession session, Uri serverUri ) : System
response ICharacterResponse The from which arguments the is going to calculated.
username string The username of the character.
session ISession The session, where the character is going to be attatched to.
serverUri System.Uri The server .
리턴 System

Character() 공개 메소드

Creates a new Character instance, without its details loaded.
When username is null or empty. When session is null.
public Character ( int rank, string username, string guild, int level, int honor, ISession session ) : System
rank int The character's rank.
username string The character's username.
guild string The character's guild.
level int The character's level.
honor int The character's honor.
session ISession The session, where the character is going to be attatched to.
리턴 System

NotifyOfPropertyChange() 보호된 메소드

protected NotifyOfPropertyChange ( [ propertyName = null ) : void
propertyName [
리턴 void

Refresh() 공개 메소드

Refreshes the data of the character by requesting it again.
public Refresh ( bool force = false ) : System.Threading.Tasks.Task
force bool Indicates whether request shall be forced, even if the character has already been loaded.
리턴 System.Threading.Tasks.Task