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