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

SGB item information More...

Inheritance diagram for Yukar.Common.Rom.Item:
Yukar.Common.Rom.RomItem Yukar.Common.Rom.IChunk

Classes

class  Equipable
 Equipment information More...
 
class  Expendable
 Consumables information More...
 
class  ExpendableWithSkill
 Consumable Information (Skill) More...
 
class  Weapon
 Weapon information More...
 

Public Member Functions

 Item ()
 
override void save (System.IO.BinaryWriter writer)
 
override void load (System.IO.BinaryReader reader)
 
override bool initializingAfterLoading ()
 
- 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

String description = ""
 
int price = 1
 
Resource.Icon.Ref icon
 
ItemType type
 
Guid model
 
int maxNum = 99
 
Guid scriptOnNew
 
Expendable expendable
 
ExpendableWithSkill expendableWithSkill
 
Equipable equipable
 
Weapon weapon
 
- Public Attributes inherited from Yukar.Common.Rom.RomItem
Guid guId
 
String name
 
string tags = ""
 
string category = ""
 

Properties

string Description [get, set]
 
int Price [get, set]
 
Icon.Ref Icon [get, set]
 
ItemType Type [get, set]
 
Guid Model [get, set]
 
int MaxNum [get, set]
 
Guid ScriptOnNew [get, set]
 
Expendable ExpendableData [get, set]
 
ExpendableWithSkill ExpendableWithSkillData [get, set]
 
Equipable EquipableData [get, set]
 
Weapon WeaponData [get, set]
 
bool Expendable_AvailableInField [get, set]
 
bool Expendable_AvailableInBattle [get, set]
 
Guid Expendable_CommonExec [get, set]
 
Guid ExpendableWithSkill_Skill [get, set]
 
int Hitpoint [get, set]
 
int HitpointPercent [get, set]
 
int Magicpoint [get, set]
 
int MagicpointPercent [get, set]
 
int Magic [get, set]
 
int Speed [get, set]
 
int Evasion [get, set]
 
int Dexterity [get, set]
 
int MaxHitpoint [get, set]
 
int MaxMagicpoint [get, set]
 
int Attack [get, set]
 
int AttackAttribute [get, set]
 
int AttrAttack [get, set]
 
int Critical [get, set]
 
int Defense [get, set]
 
int EquipType [get, set]
 
bool RecoveryPoison [get, set]
 
bool RecoverySleep [get, set]
 
bool RecoveryParalysis [get, set]
 
bool RecoveryConfusion [get, set]
 
bool RecoveryFascination [get, set]
 
bool RecoveryDown [get, set]
 
bool Recovery7 [get, set]
 
bool Recovery8 [get, set]
 
int PoisonResistant [get, set]
 
int SleepResistant [get, set]
 
int ParalysisResistant [get, set]
 
int ConfusionResistant [get, set]
 
int FascinationResistant [get, set]
 
int DeathResistant [get, set]
 
int Resistant7 [get, set]
 
int Resistant8 [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]
 
bool IsSellable [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]
 

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

SGB item information

Constructor & Destructor Documentation

◆ Item()

Yukar.Common.Rom.Item.Item ( )

Member Function Documentation

◆ initializingAfterLoading()

override bool Yukar.Common.Rom.Item.initializingAfterLoading ( )
virtual

Reimplemented from Yukar.Common.Rom.RomItem.

◆ load()

override void Yukar.Common.Rom.Item.load ( System.IO.BinaryReader  reader)

◆ save()

override void Yukar.Common.Rom.Item.save ( System.IO.BinaryWriter  writer)

Member Data Documentation

◆ description

String Yukar.Common.Rom.Item.description = ""

◆ equipable

Equipable Yukar.Common.Rom.Item.equipable

◆ expendable

Expendable Yukar.Common.Rom.Item.expendable

◆ expendableWithSkill

ExpendableWithSkill Yukar.Common.Rom.Item.expendableWithSkill

◆ icon

Resource.Icon.Ref Yukar.Common.Rom.Item.icon

◆ maxNum

int Yukar.Common.Rom.Item.maxNum = 99

◆ model

Guid Yukar.Common.Rom.Item.model

◆ price

int Yukar.Common.Rom.Item.price = 1

◆ scriptOnNew

Guid Yukar.Common.Rom.Item.scriptOnNew

◆ type

ItemType Yukar.Common.Rom.Item.type

◆ weapon

Weapon Yukar.Common.Rom.Item.weapon

Property Documentation

◆ Attack

int Yukar.Common.Rom.Item.Attack
getset

◆ AttackAttribute

int Yukar.Common.Rom.Item.AttackAttribute
getset

◆ AttrADefense

int Yukar.Common.Rom.Item.AttrADefense
getset

◆ AttrAttack

int Yukar.Common.Rom.Item.AttrAttack
getset

◆ AttrBDefense

int Yukar.Common.Rom.Item.AttrBDefense
getset

◆ AttrCDefense

int Yukar.Common.Rom.Item.AttrCDefense
getset

◆ AttrDDefense

int Yukar.Common.Rom.Item.AttrDDefense
getset

◆ AttrEDefense

int Yukar.Common.Rom.Item.AttrEDefense
getset

◆ AttrFDefense

int Yukar.Common.Rom.Item.AttrFDefense
getset

◆ AttrGDefense

int Yukar.Common.Rom.Item.AttrGDefense
getset

◆ AttrHDefense

int Yukar.Common.Rom.Item.AttrHDefense
getset

◆ ConfusionResistant

int Yukar.Common.Rom.Item.ConfusionResistant
getset

◆ Critical

int Yukar.Common.Rom.Item.Critical
getset

◆ DeathResistant

int Yukar.Common.Rom.Item.DeathResistant
getset

◆ Defense

int Yukar.Common.Rom.Item.Defense
getset

◆ Description

string Yukar.Common.Rom.Item.Description
getset

◆ Dexterity

int Yukar.Common.Rom.Item.Dexterity
getset

◆ EquipableData

Equipable Yukar.Common.Rom.Item.EquipableData
getset

◆ EquipType

int Yukar.Common.Rom.Item.EquipType
getset

◆ Evasion

int Yukar.Common.Rom.Item.Evasion
getset

◆ Expendable_AvailableInBattle

bool Yukar.Common.Rom.Item.Expendable_AvailableInBattle
getset

◆ Expendable_AvailableInField

bool Yukar.Common.Rom.Item.Expendable_AvailableInField
getset

◆ Expendable_CommonExec

Guid Yukar.Common.Rom.Item.Expendable_CommonExec
getset

◆ ExpendableData

Expendable Yukar.Common.Rom.Item.ExpendableData
getset

◆ ExpendableWithSkill_Skill

Guid Yukar.Common.Rom.Item.ExpendableWithSkill_Skill
getset

◆ ExpendableWithSkillData

ExpendableWithSkill Yukar.Common.Rom.Item.ExpendableWithSkillData
getset

◆ FascinationResistant

int Yukar.Common.Rom.Item.FascinationResistant
getset

◆ Hitpoint

int Yukar.Common.Rom.Item.Hitpoint
getset

◆ HitpointPercent

int Yukar.Common.Rom.Item.HitpointPercent
getset

◆ Icon

Icon.Ref Yukar.Common.Rom.Item.Icon
getset

◆ IsSellable

bool Yukar.Common.Rom.Item.IsSellable
get

◆ Magic

int Yukar.Common.Rom.Item.Magic
getset

◆ Magicpoint

int Yukar.Common.Rom.Item.Magicpoint
getset

◆ MagicpointPercent

int Yukar.Common.Rom.Item.MagicpointPercent
getset

◆ MaxHitpoint

int Yukar.Common.Rom.Item.MaxHitpoint
getset

◆ MaxMagicpoint

int Yukar.Common.Rom.Item.MaxMagicpoint
getset

◆ MaxNum

int Yukar.Common.Rom.Item.MaxNum
getset

◆ Model

Guid Yukar.Common.Rom.Item.Model
getset

◆ ParalysisResistant

int Yukar.Common.Rom.Item.ParalysisResistant
getset

◆ PoisonResistant

int Yukar.Common.Rom.Item.PoisonResistant
getset

◆ Price

int Yukar.Common.Rom.Item.Price
getset

◆ Recovery7

bool Yukar.Common.Rom.Item.Recovery7
getset

◆ Recovery8

bool Yukar.Common.Rom.Item.Recovery8
getset

◆ RecoveryConfusion

bool Yukar.Common.Rom.Item.RecoveryConfusion
getset

◆ RecoveryDown

bool Yukar.Common.Rom.Item.RecoveryDown
getset

◆ RecoveryFascination

bool Yukar.Common.Rom.Item.RecoveryFascination
getset

◆ RecoveryParalysis

bool Yukar.Common.Rom.Item.RecoveryParalysis
getset

◆ RecoveryPoison

bool Yukar.Common.Rom.Item.RecoveryPoison
getset

◆ RecoverySleep

bool Yukar.Common.Rom.Item.RecoverySleep
getset

◆ Resistant7

int Yukar.Common.Rom.Item.Resistant7
getset

◆ Resistant8

int Yukar.Common.Rom.Item.Resistant8
getset

◆ ScriptOnNew

Guid Yukar.Common.Rom.Item.ScriptOnNew
getset

◆ SleepResistant

int Yukar.Common.Rom.Item.SleepResistant
getset

◆ Speed

int Yukar.Common.Rom.Item.Speed
getset

◆ Type

ItemType Yukar.Common.Rom.Item.Type
getset

◆ WeaponData

Weapon Yukar.Common.Rom.Item.WeaponData
getset