Logo
Public Member Functions | Public Attributes | Properties | List of all members
Yukar.Common.Rom.Job Class Reference

Database/Occupation More...

Inheritance diagram for Yukar.Common.Rom.Job:
Yukar.Common.Rom.Placeable Yukar.Common.Rom.IDatabaseItem Yukar.Common.Rom.RomItem Yukar.Common.Rom.IChunk

Public Member Functions

 Job ()
 
void InitializeStatusParam (GameSettings inGameSettings)
 
override void save (BinaryWriter writer)
 
override void load (BinaryReader reader)
 
Event getSourceEvent (Catalog catalog)
 
override void ChangeId (Dictionary< Guid, RomItem > inChangeIdDic)
 
List< Common.Rom.NSkill > GetLearnSkillList (Catalog inCatalog, int inLevel)
 Get a list of skills learned at a specified level More...
 
- Public Member Functions inherited from Yukar.Common.Rom.RomItem
string getCategory (string locale=null)
 
 RomItem ()
 
System.Drawing.Bitmap getThumbnail (THUMBNAILMAKERNOTIFY notify, out bool setNotify)
 
System.Drawing.Bitmap getThumbnail (THUMBNAILMAKERNOTIFY notify)
 
System.Drawing.Bitmap getThumbnail ()
 
void invalidateThumbnail ()
 
void invalidateThumbnail (THUMBNAILMAKERNOTIFY notify)
 
void forceInvalidateThumbnail (THUMBNAILMAKERNOTIFY notify)
 
virtual void save (BinaryWriter writer)
 
virtual void load (BinaryReader reader)
 
virtual void saveUsedGUID (BinaryWriter writer, bool inIncludeChildUseRomGUID)
 Export the GUID you are using (for tools) More...
 
void saveUsedGUID (BinaryWriter writer)
 Export the GUID you are using (for tools) More...
 
virtual bool initializingAfterLoading ()
 
virtual void postImport (string srcpath)
 
virtual void reImport ()
 
virtual void export (string path)
 
virtual void onCatalogCleanup ()
 
void copyFrom (Common.Rom.RomItem src)
 
virtual void CheckRecourceConsistency (Catalog inCatalog)
 
virtual void ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic)
 Replace the Id you are using with the corresponding Rom Id More...
 
void ClearId (List< Rom.RomItem > inClearRomItemList)
 Removed rom usage in list More...
 
void Dispose ()
 
void AddUpdatecall (int count)
 
void save (BinaryWriter writer)
 
void load (BinaryReader reader)
 

Public Attributes

Guid face
 
Resource.Icon.Ref icon = new Resource.Icon.Ref()
 
Guid graphic
 
Guid graphic3d
 
string description = ""
 
Guid scriptOnNew
 
Guid attackEffect
 
int level = 1
 
int levelGrowthRate = 2
 
GameData.GrowthParam mpParam = new GameData.GrowthParam()
 
GameData.GrowthParam hpParam = new GameData.GrowthParam(30, 5f, 1.01f)
 
GameData.GrowthParam powerParam = new GameData.GrowthParam()
 
GameData.GrowthParam magicParam = new GameData.GrowthParam()
 
GameData.GrowthParam vitalityParam = new GameData.GrowthParam()
 
GameData.GrowthParam speedParam = new GameData.GrowthParam()
 
GameData.GrowthParam recoveryParam = new GameData.GrowthParam(0, 0f, 1.01f)
 
GameData.GrowthParam dexterityParam = new GameData.GrowthParam(0, 0f, 1.01f)
 
GameData.GrowthParam poisonDamageReductionPercentParam = new GameData.GrowthParam(0, 0f, 1.01f)
 
int exp = 0
 
float growthRate = 2f
 
int maxLevel
 
List< int > levelUpExpList = new List<int>(Common.GameData.Hero.MAX_LEVEL)
 
List< ItemInfoavailableItems = new List<ItemInfo>()
 
List< SkillInfoavailableSkills = new List<SkillInfo>()
 
- Public Attributes inherited from Yukar.Common.Rom.Placeable
Guid eventRef
 
- Public Attributes inherited from Yukar.Common.Rom.RomItem
Guid guId
 
String name
 
string tags = ""
 
string category = ""
 

Properties

Guid EventRef [get]
 
Resource.Icon.Ref Icon [get, set]
 
string Description [get, set]
 
Guid Graphic [get, set]
 
Guid Face [get, set]
 
StatusParam StatusParam = new StatusParam() [get, set]
 
List< int > LevelUpExpList [get]
 
List< AttributeInfoAttrDefenceList [get, set]
 
Guid AttrDefense [get, set]
 
List< ConditionInfoResistantList [get, set]
 
List< AvailableSkillInfoAvailableSkillList = new List<AvailableSkillInfo>() [get, set]
 
List< ConditionDefenceInfoConditionDefenceList = new List<ConditionDefenceInfo>() [get, set]
 
int Level [get, set]
 
int LevelGrowthRate [get, set]
 
int MP [get, set]
 
float MPGrowth [get, set]
 
float MPGrowthRate [get, set]
 
int HP [get, set]
 
float HPGrowth [get, set]
 
float HPGrowthRate [get, set]
 
int Power [get, set]
 
float PowerGrowth [get, set]
 
float PowerGrowthRate [get, set]
 
int Magic [get, set]
 
float MagicGrowth [get, set]
 
float MagicGrowthRate [get, set]
 
int Vitality [get, set]
 
float VitalityGrowth [get, set]
 
float VitalityGrowthRate [get, set]
 
int Speed [get, set]
 
float SpeedGrowth [get, set]
 
float SpeedGrowthRate [get, set]
 
int Recovery [get, set]
 
float RecoveryGrowth [get, set]
 
float RecoveryGrowthRate [get, set]
 
int Dexterity [get, set]
 
float DexterityGrowth [get, set]
 
float DexterityGrowthRate [get, set]
 
int PoisonDamageReductionPercent [get, set]
 
float PoisonDamageReductionPercentGrowth [get, set]
 
float PoisonDamageReductionPercentGrowthRate [get, set]
 
int EXP [get, set]
 
int MaxLevel [get, set]
 
int AttrADefense [get, set]
 
int AttrBDefense [get, set]
 
int AttrCDefense [get, set]
 
int AttrDDefense [get, set]
 
int AttrEDefense [get, set]
 
int AttrFDefense [get, set]
 
int AttrGDefense [get, set]
 
int AttrHDefense [get, set]
 
int PoisonResistant [get, set]
 
int SleepResistant [get, set]
 
int ParalysisResistant [get, set]
 
int ConfuseResistant [get, set]
 
int FascinationResistant [get, set]
 
int DeathResistant [get, set]
 
int Resistant7 [get, set]
 
int Resistant8 [get, set]
 
Dictionary< Guid, bool > availableItemsList [get]
 
- Properties inherited from Yukar.Common.Rom.RomItem
System.Drawing.Bitmap Thumbnail [get]
 
ThumbnailStatusType ThumbnailStatus = ThumbnailStatusType.Empty [get, set]
 
string Name [get, set]
 
virtual int RefCount [get]
 
virtual bool UseRefCount [get]
 
Folder Parent [get, set]
 
- Properties inherited from Yukar.Common.Rom.IDatabaseItem
Guid EventRef [get]
 

Additional Inherited Members

- Public Types inherited from Yukar.Common.Rom.RomItem
enum  ThumbnailStatusType { Empty = 0 , Creating , Created , Failed }
 Thumbnail image generation status More...
 
- Static Public Member Functions inherited from Yukar.Common.Rom.RomItem
static void writeChunk (System.IO.BinaryWriter writer, IChunk rom)
 
static void readChunk (System.IO.BinaryReader reader, IChunk rom)
 
static void skipChunk (System.IO.BinaryReader reader)
 
static T Clone< T > (RomItem inSrc)
 
static bool equalChunk (IChunk a, IChunk b)
 
static IChunk duplicate (IChunk rom)
 
- Static Public Attributes inherited from Yukar.Common.Rom.RomItem
static int thumbnailWidth = 128
 
static int thumbnailHeight = 128
 
const char CATEGORY_SPLITTER = '\\'
 
static CREATETHUMBNAIL createThumbnailFunction = null
 
const int UnknownRefCount = -2000
 
- Protected Member Functions inherited from Yukar.Common.Rom.RomItem
virtual void Dispose (bool disposing)
 

Detailed Description

Database/Occupation

Constructor & Destructor Documentation

◆ Job()

Yukar.Common.Rom.Job.Job ( )

Member Function Documentation

◆ ChangeId()

override void Yukar.Common.Rom.Job.ChangeId ( Dictionary< Guid, RomItem inChangeIdDic)

◆ GetLearnSkillList()

List< Common.Rom.NSkill > Yukar.Common.Rom.Job.GetLearnSkillList ( Catalog  inCatalog,
int  inLevel 
)

Get a list of skills learned at a specified level

Parameters
inCatalogcatalog
inLevellevel
Returns
list of skills

◆ getSourceEvent()

Event Yukar.Common.Rom.Job.getSourceEvent ( Catalog  catalog)

◆ InitializeStatusParam()

void Yukar.Common.Rom.Job.InitializeStatusParam ( GameSettings  inGameSettings)

◆ load()

override void Yukar.Common.Rom.Job.load ( BinaryReader  reader)
virtual

Reimplemented from Yukar.Common.Rom.RomItem.

◆ save()

override void Yukar.Common.Rom.Job.save ( BinaryWriter  writer)
virtual

Reimplemented from Yukar.Common.Rom.RomItem.

Member Data Documentation

◆ attackEffect

Guid Yukar.Common.Rom.Job.attackEffect

◆ availableItems

List<ItemInfo> Yukar.Common.Rom.Job.availableItems = new List<ItemInfo>()

◆ availableSkills

List<SkillInfo> Yukar.Common.Rom.Job.availableSkills = new List<SkillInfo>()

◆ description

string Yukar.Common.Rom.Job.description = ""

◆ dexterityParam

GameData.GrowthParam Yukar.Common.Rom.Job.dexterityParam = new GameData.GrowthParam(0, 0f, 1.01f)

◆ exp

int Yukar.Common.Rom.Job.exp = 0

◆ face

Guid Yukar.Common.Rom.Job.face

◆ graphic

Guid Yukar.Common.Rom.Job.graphic

◆ graphic3d

Guid Yukar.Common.Rom.Job.graphic3d

◆ growthRate

float Yukar.Common.Rom.Job.growthRate = 2f

◆ hpParam

GameData.GrowthParam Yukar.Common.Rom.Job.hpParam = new GameData.GrowthParam(30, 5f, 1.01f)

◆ icon

Resource.Icon.Ref Yukar.Common.Rom.Job.icon = new Resource.Icon.Ref()

◆ level

int Yukar.Common.Rom.Job.level = 1

◆ levelGrowthRate

int Yukar.Common.Rom.Job.levelGrowthRate = 2

◆ levelUpExpList

List<int> Yukar.Common.Rom.Job.levelUpExpList = new List<int>(Common.GameData.Hero.MAX_LEVEL)

◆ magicParam

GameData.GrowthParam Yukar.Common.Rom.Job.magicParam = new GameData.GrowthParam()

◆ maxLevel

int Yukar.Common.Rom.Job.maxLevel

◆ mpParam

GameData.GrowthParam Yukar.Common.Rom.Job.mpParam = new GameData.GrowthParam()

◆ poisonDamageReductionPercentParam

GameData.GrowthParam Yukar.Common.Rom.Job.poisonDamageReductionPercentParam = new GameData.GrowthParam(0, 0f, 1.01f)

◆ powerParam

GameData.GrowthParam Yukar.Common.Rom.Job.powerParam = new GameData.GrowthParam()

◆ recoveryParam

GameData.GrowthParam Yukar.Common.Rom.Job.recoveryParam = new GameData.GrowthParam(0, 0f, 1.01f)

◆ scriptOnNew

Guid Yukar.Common.Rom.Job.scriptOnNew

◆ speedParam

GameData.GrowthParam Yukar.Common.Rom.Job.speedParam = new GameData.GrowthParam()

◆ vitalityParam

GameData.GrowthParam Yukar.Common.Rom.Job.vitalityParam = new GameData.GrowthParam()

Property Documentation

◆ AttrADefense

int Yukar.Common.Rom.Job.AttrADefense
getset

◆ AttrBDefense

int Yukar.Common.Rom.Job.AttrBDefense
getset

◆ AttrCDefense

int Yukar.Common.Rom.Job.AttrCDefense
getset

◆ AttrDDefense

int Yukar.Common.Rom.Job.AttrDDefense
getset

◆ AttrDefenceList

List<AttributeInfo> Yukar.Common.Rom.Job.AttrDefenceList
getset

◆ AttrDefense

Guid Yukar.Common.Rom.Job.AttrDefense
getset

◆ AttrEDefense

int Yukar.Common.Rom.Job.AttrEDefense
getset

◆ AttrFDefense

int Yukar.Common.Rom.Job.AttrFDefense
getset

◆ AttrGDefense

int Yukar.Common.Rom.Job.AttrGDefense
getset

◆ AttrHDefense

int Yukar.Common.Rom.Job.AttrHDefense
getset

◆ availableItemsList

Dictionary<Guid, bool> Yukar.Common.Rom.Job.availableItemsList
get

◆ AvailableSkillList

List<AvailableSkillInfo> Yukar.Common.Rom.Job.AvailableSkillList = new List<AvailableSkillInfo>()
getset

◆ ConditionDefenceList

List<ConditionDefenceInfo> Yukar.Common.Rom.Job.ConditionDefenceList = new List<ConditionDefenceInfo>()
getset

◆ ConfuseResistant

int Yukar.Common.Rom.Job.ConfuseResistant
getset

◆ DeathResistant

int Yukar.Common.Rom.Job.DeathResistant
getset

◆ Description

string Yukar.Common.Rom.Job.Description
getset

◆ Dexterity

int Yukar.Common.Rom.Job.Dexterity
getset

◆ DexterityGrowth

float Yukar.Common.Rom.Job.DexterityGrowth
getset

◆ DexterityGrowthRate

float Yukar.Common.Rom.Job.DexterityGrowthRate
getset

◆ EventRef

Guid Yukar.Common.Rom.Job.EventRef
get

◆ EXP

int Yukar.Common.Rom.Job.EXP
getset

◆ Face

Guid Yukar.Common.Rom.Job.Face
getset

◆ FascinationResistant

int Yukar.Common.Rom.Job.FascinationResistant
getset

◆ Graphic

Guid Yukar.Common.Rom.Job.Graphic
getset

◆ HP

int Yukar.Common.Rom.Job.HP
getset

◆ HPGrowth

float Yukar.Common.Rom.Job.HPGrowth
getset

◆ HPGrowthRate

float Yukar.Common.Rom.Job.HPGrowthRate
getset

◆ Icon

Resource.Icon.Ref Yukar.Common.Rom.Job.Icon
getset

◆ Level

int Yukar.Common.Rom.Job.Level
getset

◆ LevelGrowthRate

int Yukar.Common.Rom.Job.LevelGrowthRate
getset

◆ LevelUpExpList

List<int> Yukar.Common.Rom.Job.LevelUpExpList
get

◆ Magic

int Yukar.Common.Rom.Job.Magic
getset

◆ MagicGrowth

float Yukar.Common.Rom.Job.MagicGrowth
getset

◆ MagicGrowthRate

float Yukar.Common.Rom.Job.MagicGrowthRate
getset

◆ MaxLevel

int Yukar.Common.Rom.Job.MaxLevel
getset

◆ MP

int Yukar.Common.Rom.Job.MP
getset

◆ MPGrowth

float Yukar.Common.Rom.Job.MPGrowth
getset

◆ MPGrowthRate

float Yukar.Common.Rom.Job.MPGrowthRate
getset

◆ ParalysisResistant

int Yukar.Common.Rom.Job.ParalysisResistant
getset

◆ PoisonDamageReductionPercent

int Yukar.Common.Rom.Job.PoisonDamageReductionPercent
getset

◆ PoisonDamageReductionPercentGrowth

float Yukar.Common.Rom.Job.PoisonDamageReductionPercentGrowth
getset

◆ PoisonDamageReductionPercentGrowthRate

float Yukar.Common.Rom.Job.PoisonDamageReductionPercentGrowthRate
getset

◆ PoisonResistant

int Yukar.Common.Rom.Job.PoisonResistant
getset

◆ Power

int Yukar.Common.Rom.Job.Power
getset

◆ PowerGrowth

float Yukar.Common.Rom.Job.PowerGrowth
getset

◆ PowerGrowthRate

float Yukar.Common.Rom.Job.PowerGrowthRate
getset

◆ Recovery

int Yukar.Common.Rom.Job.Recovery
getset

◆ RecoveryGrowth

float Yukar.Common.Rom.Job.RecoveryGrowth
getset

◆ RecoveryGrowthRate

float Yukar.Common.Rom.Job.RecoveryGrowthRate
getset

◆ Resistant7

int Yukar.Common.Rom.Job.Resistant7
getset

◆ Resistant8

int Yukar.Common.Rom.Job.Resistant8
getset

◆ ResistantList

List<ConditionInfo> Yukar.Common.Rom.Job.ResistantList
getset

◆ SleepResistant

int Yukar.Common.Rom.Job.SleepResistant
getset

◆ Speed

int Yukar.Common.Rom.Job.Speed
getset

◆ SpeedGrowth

float Yukar.Common.Rom.Job.SpeedGrowth
getset

◆ SpeedGrowthRate

float Yukar.Common.Rom.Job.SpeedGrowthRate
getset

◆ StatusParam

StatusParam Yukar.Common.Rom.Job.StatusParam = new StatusParam()
getset

◆ Vitality

int Yukar.Common.Rom.Job.Vitality
getset

◆ VitalityGrowth

float Yukar.Common.Rom.Job.VitalityGrowth
getset

◆ VitalityGrowthRate

float Yukar.Common.Rom.Job.VitalityGrowthRate
getset