C# Класс Gruppe22.Backend.PlayerChange

The reward provided on quest completion to player.
Наследование: MapChange
Показать файл Открыть проект

Открытые методы

Метод Описание
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