C# Class Gruppe22.Backend.PlayerChange

The reward provided on quest completion to player.
Inheritance: MapChange
Afficher le fichier Open project: propra13-orga/gruppe22

Méthodes publiques

Méthode Description
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

Method Details

AddFlag() public méthode

Add a flag on finishing the quest
public AddFlag ( Int32 flag ) : void
flag System.Int32
Résultat void

AddItem() public méthode

Add a new item to the list to be granted to the player
public AddItem ( Item item ) : void
item Item
Résultat void

AddLoseItem() public méthode

Add a new item to the list to be removed from the player
public AddLoseItem ( Item item ) : void
item Item
Résultat void

ClearFlags() public méthode

Reset the list of flags
public ClearFlags ( ) : void
Résultat void

ClearItems() public méthode

Reset the list of items to be granted to the player
public ClearItems ( ) : void
Résultat void

ClearLoseItems() public méthode

Reset the list of items to be removed from the player
public ClearLoseItems ( ) : void
Résultat void

PlayerChange() public méthode

Constructor
public PlayerChange ( int xp, List items = null, List loseItems = null, Int32 flags = null ) : System
xp int
items List
loseItems List
flags System.Int32
Résultat System

RemoveFlag() public méthode

Remove a specific flag
public RemoveFlag ( int ID ) : void
ID int
Résultat void

RemoveItem() public méthode

Remove an item from the list of items to be granted to the player
public RemoveItem ( Item item ) : void
item Item
Résultat void

RemoveItem() public méthode

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

RemoveLoseItem() public méthode

Remove an item from the list of items to be granted to the player
public RemoveLoseItem ( Item item ) : void
item Item
Résultat void

RemoveLoseItem() public méthode

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