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

SGB character information class More...

Inheritance diagram for Yukar.Common.Rom.Hero:
Yukar.Common.Rom.Placeable Yukar.Common.Rom.RomItem Yukar.Common.Rom.IChunk

Classes

class  AvailableItem
 Available item information More...
 
class  Equipments
 Equipment information More...
 
class  SkillLearnLevel
 Acquired skill information More...
 

Public Member Functions

override void save (System.IO.BinaryWriter writer)
 
override void load (System.IO.BinaryReader reader)
 
Event getSourceEvent (Catalog catalog)
 
- 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 graphic
 
Guid face
 
string description = ""
 
int level = 1
 
GameData.GrowthParam powerParam = new GameData.GrowthParam()
 
GameData.GrowthParam vitalityParam = new GameData.GrowthParam()
 
GameData.GrowthParam magicParam = new GameData.GrowthParam()
 
GameData.GrowthParam speedParam = new GameData.GrowthParam()
 
int levelGrowthRate = 2
 
int poisonDamegePercent = 10
 
bool moveForward
 
List< SkillLearnLevelskillLearnLevelsList = new List<SkillLearnLevel>()
 
Dictionary< Guid, bool > availableItemsList = new Dictionary<Guid, bool>()
 
List< Guid > battleCommandList = new List<Guid>()
 
Equipments equipments = new Equipments()
 
bool[] fixEquipments = new bool[6]
 
bool isAutoBattle
 
bool isLevelFixed
 
GameData.GrowthParam hpParam = new GameData.GrowthParam(30, 5f, 1.01f)
 
GameData.GrowthParam mpParam = new GameData.GrowthParam()
 
- 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[] unavailableItems [get, set]
 
- 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 character information class

Member Function Documentation

◆ getSourceEvent()

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

◆ load()

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

◆ save()

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

Member Data Documentation

◆ availableItemsList

Dictionary<Guid, bool> Yukar.Common.Rom.Hero.availableItemsList = new Dictionary<Guid, bool>()

◆ battleCommandList

List<Guid> Yukar.Common.Rom.Hero.battleCommandList = new List<Guid>()

◆ description

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

◆ equipments

Equipments Yukar.Common.Rom.Hero.equipments = new Equipments()

◆ face

Guid Yukar.Common.Rom.Hero.face

◆ fixEquipments

bool [] Yukar.Common.Rom.Hero.fixEquipments = new bool[6]

◆ graphic

Guid Yukar.Common.Rom.Hero.graphic

◆ hpParam

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

◆ isAutoBattle

bool Yukar.Common.Rom.Hero.isAutoBattle

◆ isLevelFixed

bool Yukar.Common.Rom.Hero.isLevelFixed

◆ level

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

◆ levelGrowthRate

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

◆ magicParam

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

◆ moveForward

bool Yukar.Common.Rom.Hero.moveForward

◆ mpParam

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

◆ poisonDamegePercent

int Yukar.Common.Rom.Hero.poisonDamegePercent = 10

◆ powerParam

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

◆ skillLearnLevelsList

List<SkillLearnLevel> Yukar.Common.Rom.Hero.skillLearnLevelsList = new List<SkillLearnLevel>()

◆ speedParam

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

◆ vitalityParam

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

Property Documentation

◆ unavailableItems

Guid [] Yukar.Common.Rom.Hero.unavailableItems
getset