Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
BrokeProtocol.Utility.Jobs.Job Class Reference

Public Member Functions

void Initialize (ShPlayer player, JobInfo info)
 
void MessageAllEmployees (string message)
 
virtual float GetSpawnRate ()
 
virtual void ResetJob ()
 
virtual void SetJob ()
 
virtual void RemoveJob ()
 
virtual void ResetJobAI ()
 
virtual bool IsValidTarget (ShPlayer chaser)
 
virtual ShUsable GetBestJobEquipable ()
 
virtual void OnSpawn ()
 
virtual void OnDie ()
 
virtual void OnRevivePlayer (ShPlayer player)
 
virtual void OnHealEntity (ShEntity entity)
 
virtual void OnDamageEntity (ShEntity damaged)
 
virtual void OnDestroyEntity (ShEntity destroyed)
 
virtual void OnOptionMenuAction (int targetID, string id, string optionID, string actionID)
 
override int GetHashCode ()
 
override bool Equals (object obj)
 

Static Public Member Functions

static bool operator== (Job v1, Job v2)
 
static bool operator!= (Job v1, Job v2)
 

Public Attributes

ShPlayer player
 
JobInfo info
 

Member Function Documentation

◆ Equals()

override bool BrokeProtocol.Utility.Jobs.Job.Equals ( object obj)

◆ GetBestJobEquipable()

virtual ShUsable BrokeProtocol.Utility.Jobs.Job.GetBestJobEquipable ( )
virtual

◆ GetHashCode()

override int BrokeProtocol.Utility.Jobs.Job.GetHashCode ( )

◆ GetSpawnRate()

virtual float BrokeProtocol.Utility.Jobs.Job.GetSpawnRate ( )
virtual

◆ Initialize()

void BrokeProtocol.Utility.Jobs.Job.Initialize ( ShPlayer player,
JobInfo info )
inline

◆ IsValidTarget()

virtual bool BrokeProtocol.Utility.Jobs.Job.IsValidTarget ( ShPlayer chaser)
virtual

◆ MessageAllEmployees()

void BrokeProtocol.Utility.Jobs.Job.MessageAllEmployees ( string message)
inline

◆ OnDamageEntity()

virtual void BrokeProtocol.Utility.Jobs.Job.OnDamageEntity ( ShEntity damaged)
inlinevirtual

◆ OnDestroyEntity()

virtual void BrokeProtocol.Utility.Jobs.Job.OnDestroyEntity ( ShEntity destroyed)
inlinevirtual

◆ OnDie()

virtual void BrokeProtocol.Utility.Jobs.Job.OnDie ( )
inlinevirtual

◆ OnHealEntity()

virtual void BrokeProtocol.Utility.Jobs.Job.OnHealEntity ( ShEntity entity)
inlinevirtual

◆ OnOptionMenuAction()

virtual void BrokeProtocol.Utility.Jobs.Job.OnOptionMenuAction ( int targetID,
string id,
string optionID,
string actionID )
inlinevirtual

◆ OnRevivePlayer()

virtual void BrokeProtocol.Utility.Jobs.Job.OnRevivePlayer ( ShPlayer player)
inlinevirtual

◆ OnSpawn()

virtual void BrokeProtocol.Utility.Jobs.Job.OnSpawn ( )
inlinevirtual

◆ operator!=()

static bool BrokeProtocol.Utility.Jobs.Job.operator!= ( Job v1,
Job v2 )
static

◆ operator==()

static bool BrokeProtocol.Utility.Jobs.Job.operator== ( Job v1,
Job v2 )
static

◆ RemoveJob()

virtual void BrokeProtocol.Utility.Jobs.Job.RemoveJob ( )
virtual

◆ ResetJob()

virtual void BrokeProtocol.Utility.Jobs.Job.ResetJob ( )
inlinevirtual

◆ ResetJobAI()

virtual void BrokeProtocol.Utility.Jobs.Job.ResetJobAI ( )
inlinevirtual

◆ SetJob()

virtual void BrokeProtocol.Utility.Jobs.Job.SetJob ( )
virtual

Member Data Documentation

◆ info

JobInfo BrokeProtocol.Utility.Jobs.Job.info

◆ player

ShPlayer BrokeProtocol.Utility.Jobs.Job.player

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