C# 클래스 Gruppe22.Backend.PlayerChange

The reward provided on quest completion to player.
상속: MapChange
파일 보기 프로젝트 열기: propra13-orga/gruppe22

공개 메소드들

메소드 설명
AddFlag ( Int32 flag ) : void

Add a flag on finishing the quest

AddItem ( Item item ) : void

Add a new item to the list to be granted to the player

AddLoseItem ( Item item ) : void

Add a new item to the list to be removed from the player

ClearFlags ( ) : void

Reset the list of flags

ClearItems ( ) : void

Reset the list of items to be granted to the player

ClearLoseItems ( ) : void

Reset the list of items to be removed from the player

PlayerChange ( int xp, List items = null, List loseItems = null, Int32 flags = null ) : System

Constructor

RemoveFlag ( int ID ) : void

Remove a specific flag

RemoveItem ( Item item ) : void

Remove an item from the list of items to be granted to the player

RemoveItem ( int ID ) : void

Remove an item from the list of items to be granted to the player

RemoveLoseItem ( Item item ) : void

Remove an item from the list of items to be granted to the player

RemoveLoseItem ( int ID ) : void

Remove an item from the list of items to be granted to the player

메소드 상세

AddFlag() 공개 메소드

Add a flag on finishing the quest
public AddFlag ( Int32 flag ) : void
flag System.Int32
리턴 void

AddItem() 공개 메소드

Add a new item to the list to be granted to the player
public AddItem ( Item item ) : void
item Item
리턴 void

AddLoseItem() 공개 메소드

Add a new item to the list to be removed from the player
public AddLoseItem ( Item item ) : void
item Item
리턴 void

ClearFlags() 공개 메소드

Reset the list of flags
public ClearFlags ( ) : void
리턴 void

ClearItems() 공개 메소드

Reset the list of items to be granted to the player
public ClearItems ( ) : void
리턴 void

ClearLoseItems() 공개 메소드

Reset the list of items to be removed from the player
public ClearLoseItems ( ) : void
리턴 void

PlayerChange() 공개 메소드

Constructor
public PlayerChange ( int xp, List items = null, List loseItems = null, Int32 flags = null ) : System
xp int
items List
loseItems List
flags System.Int32
리턴 System

RemoveFlag() 공개 메소드

Remove a specific flag
public RemoveFlag ( int ID ) : void
ID int
리턴 void

RemoveItem() 공개 메소드

Remove an item from the list of items to be granted to the player
public RemoveItem ( Item item ) : void
item Item
리턴 void

RemoveItem() 공개 메소드

Remove an item from the list of items to be granted to the player
public RemoveItem ( int ID ) : void
ID int
리턴 void

RemoveLoseItem() 공개 메소드

Remove an item from the list of items to be granted to the player
public RemoveLoseItem ( Item item ) : void
item Item
리턴 void

RemoveLoseItem() 공개 메소드

Remove an item from the list of items to be granted to the player
public RemoveLoseItem ( int ID ) : void
ID int
리턴 void