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

SGB enemy information class More...

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

Classes

class  ActionPattern
 Behavior pattern information class More...
 

Public Types

enum  AIPattern { NORMAL , CLEVER , TRICKY }
 AI pattern More...
 
enum  ActionType {
  ATTACK , CRITICAL , DO_NOTHING , SKILL ,
  GUARD , CHARGE , ESCAPE
}
 action type More...
 
- Public Types inherited from Yukar.Common.Rom.RomItem
enum  ThumbnailStatusType { Empty = 0 , Creating , Created , Failed }
 Thumbnail image generation status More...
 

Public Member Functions

override void save (System.IO.BinaryWriter writer)
 
override void load (System.IO.BinaryReader reader)
 
override bool initializingAfterLoading ()
 
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 graphic3d
 
Guid attackEffect
 
string description = ""
 
int hitpoint = 1
 
int magicpoint
 
int attack
 
int magic = 0
 
int defense
 
int evasion
 
int dexterity = 100
 
int power = 1
 
int vitarity = 1
 
int speed = 1
 
int attrADefense
 
int attrBDefense
 
int attrCDefense
 
int attrDDefense
 
int attrEDefense
 
int attrFDefense
 
int poisonResistant
 
int sleepResistant
 
int paralysisResistant
 
int confusionResistant
 
int fascinationResistant
 
int deathResistant
 
int poisonDamegePercent = 10
 
AIPattern aiPattern
 
List< ActionPatternactionList = new List<ActionPattern>()
 
int money
 
int exp
 
Guid dropItemA
 
int dropItemAPercent
 
Guid dropItemB
 
int dropItemBPercent
 
int encountType = 1
 
bool moveForward
 
- 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 Graphics3D [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

- 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 enemy information class

Member Enumeration Documentation

◆ ActionType

enum Yukar.Common.Rom.Monster.ActionType

action type

Enumerator
ATTACK 
CRITICAL 
DO_NOTHING 
SKILL 
GUARD 
CHARGE 
ESCAPE 

◆ AIPattern

enum Yukar.Common.Rom.Monster.AIPattern

AI pattern

Enumerator
NORMAL 
CLEVER 
TRICKY 

Member Function Documentation

◆ getSourceEvent()

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

◆ initializingAfterLoading()

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

Reimplemented from Yukar.Common.Rom.RomItem.

◆ load()

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

◆ save()

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

Member Data Documentation

◆ actionList

List<ActionPattern> Yukar.Common.Rom.Monster.actionList = new List<ActionPattern>()

◆ aiPattern

AIPattern Yukar.Common.Rom.Monster.aiPattern

◆ attack

int Yukar.Common.Rom.Monster.attack

◆ attackEffect

Guid Yukar.Common.Rom.Monster.attackEffect

◆ attrADefense

int Yukar.Common.Rom.Monster.attrADefense

◆ attrBDefense

int Yukar.Common.Rom.Monster.attrBDefense

◆ attrCDefense

int Yukar.Common.Rom.Monster.attrCDefense

◆ attrDDefense

int Yukar.Common.Rom.Monster.attrDDefense

◆ attrEDefense

int Yukar.Common.Rom.Monster.attrEDefense

◆ attrFDefense

int Yukar.Common.Rom.Monster.attrFDefense

◆ confusionResistant

int Yukar.Common.Rom.Monster.confusionResistant

◆ deathResistant

int Yukar.Common.Rom.Monster.deathResistant

◆ defense

int Yukar.Common.Rom.Monster.defense

◆ description

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

◆ dexterity

int Yukar.Common.Rom.Monster.dexterity = 100

◆ dropItemA

Guid Yukar.Common.Rom.Monster.dropItemA

◆ dropItemAPercent

int Yukar.Common.Rom.Monster.dropItemAPercent

◆ dropItemB

Guid Yukar.Common.Rom.Monster.dropItemB

◆ dropItemBPercent

int Yukar.Common.Rom.Monster.dropItemBPercent

◆ encountType

int Yukar.Common.Rom.Monster.encountType = 1

◆ evasion

int Yukar.Common.Rom.Monster.evasion

◆ exp

int Yukar.Common.Rom.Monster.exp

◆ fascinationResistant

int Yukar.Common.Rom.Monster.fascinationResistant

◆ graphic

Guid Yukar.Common.Rom.Monster.graphic

◆ graphic3d

Guid Yukar.Common.Rom.Monster.graphic3d

◆ hitpoint

int Yukar.Common.Rom.Monster.hitpoint = 1

◆ magic

int Yukar.Common.Rom.Monster.magic = 0

◆ magicpoint

int Yukar.Common.Rom.Monster.magicpoint

◆ money

int Yukar.Common.Rom.Monster.money

◆ moveForward

bool Yukar.Common.Rom.Monster.moveForward

◆ paralysisResistant

int Yukar.Common.Rom.Monster.paralysisResistant

◆ poisonDamegePercent

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

◆ poisonResistant

int Yukar.Common.Rom.Monster.poisonResistant

◆ power

int Yukar.Common.Rom.Monster.power = 1

◆ sleepResistant

int Yukar.Common.Rom.Monster.sleepResistant

◆ speed

int Yukar.Common.Rom.Monster.speed = 1

◆ vitarity

int Yukar.Common.Rom.Monster.vitarity = 1

Property Documentation

◆ Graphics3D

Guid Yukar.Common.Rom.Monster.Graphics3D
get