Npc Class Reference
Collaboration diagram for Npc:

Public Member Functions

void CmdWarp_DialogueSystem (Vector3 destination)
 
void SetBypassNpcDialoguePanel (bool value)
 
void OnConversationStart (Transform player)
 
void OnConversationEnd (Transform player)
 
void RegisterRewardAuthorization (Player player)
 
void UnregisterRewardAuthorization (Player player)
 

Public Attributes

bool bypassNpcDialoguePanel = false
 
DSRewardAuthorization rewardAuthorization = new DSRewardAuthorization()
 

Protected Member Functions

bool ValidateAddPlayerExp (Player player, int x)
 
bool ValidateAddPlayerHealth (Player player, int x)
 
bool ValidateAddPlayerMana (Player player, int x)
 
bool ValidateAddPlayerStr (Player player, int x)
 
bool ValidateAddPlayerInt (Player player, int x)
 
bool ValidateAddPlayerGold (Player player, int x)
 
bool ValidateAddPlayerCoins (Player player, int x)
 
bool ValidateAddPlayerItem (Player player, string itemName, int amount)
 

Protected Attributes

DSValidateInt prevValidateAddPlayerExp
 
DSValidateInt prevValidateAddPlayerHealth
 
DSValidateInt prevValidateAddPlayerMana
 
DSValidateInt prevValidateAddPlayerStr
 
DSValidateInt prevValidateAddPlayerInt
 
DSValidateInt prevValidateAddPlayerGold
 
DSValidateInt prevValidateAddPlayerCoins
 
DSValidateItem prevValidateAddPlayerItem
 

Member Function Documentation

◆ CmdWarp_DialogueSystem()

void Npc.CmdWarp_DialogueSystem ( Vector3  destination)
inline

◆ OnConversationEnd()

void Npc.OnConversationEnd ( Transform  player)
inline

◆ OnConversationStart()

void Npc.OnConversationStart ( Transform  player)
inline

◆ RegisterRewardAuthorization()

void Npc.RegisterRewardAuthorization ( Player  player)
inline

◆ SetBypassNpcDialoguePanel()

void Npc.SetBypassNpcDialoguePanel ( bool  value)
inline

◆ UnregisterRewardAuthorization()

void Npc.UnregisterRewardAuthorization ( Player  player)
inline

◆ ValidateAddPlayerCoins()

bool Npc.ValidateAddPlayerCoins ( Player  player,
int  x 
)
inlineprotected

◆ ValidateAddPlayerExp()

bool Npc.ValidateAddPlayerExp ( Player  player,
int  x 
)
inlineprotected

◆ ValidateAddPlayerGold()

bool Npc.ValidateAddPlayerGold ( Player  player,
int  x 
)
inlineprotected

◆ ValidateAddPlayerHealth()

bool Npc.ValidateAddPlayerHealth ( Player  player,
int  x 
)
inlineprotected

◆ ValidateAddPlayerInt()

bool Npc.ValidateAddPlayerInt ( Player  player,
int  x 
)
inlineprotected

◆ ValidateAddPlayerItem()

bool Npc.ValidateAddPlayerItem ( Player  player,
string  itemName,
int  amount 
)
inlineprotected

◆ ValidateAddPlayerMana()

bool Npc.ValidateAddPlayerMana ( Player  player,
int  x 
)
inlineprotected

◆ ValidateAddPlayerStr()

bool Npc.ValidateAddPlayerStr ( Player  player,
int  x 
)
inlineprotected

Member Data Documentation

◆ bypassNpcDialoguePanel

bool Npc.bypassNpcDialoguePanel = false

◆ prevValidateAddPlayerCoins

DSValidateInt Npc.prevValidateAddPlayerCoins
protected

◆ prevValidateAddPlayerExp

DSValidateInt Npc.prevValidateAddPlayerExp
protected

◆ prevValidateAddPlayerGold

DSValidateInt Npc.prevValidateAddPlayerGold
protected

◆ prevValidateAddPlayerHealth

DSValidateInt Npc.prevValidateAddPlayerHealth
protected

◆ prevValidateAddPlayerInt

DSValidateInt Npc.prevValidateAddPlayerInt
protected

◆ prevValidateAddPlayerItem

DSValidateItem Npc.prevValidateAddPlayerItem
protected

◆ prevValidateAddPlayerMana

DSValidateInt Npc.prevValidateAddPlayerMana
protected

◆ prevValidateAddPlayerStr

DSValidateInt Npc.prevValidateAddPlayerStr
protected

◆ rewardAuthorization

DSRewardAuthorization Npc.rewardAuthorization = new DSRewardAuthorization()

The documentation for this class was generated from the following file: