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

Class that holds event information More...

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

Classes

class  Condition
 seat conditions More...
 
class  Property
 property More...
 
class  Property2
 Property 2 Extension property Because the first Property may disappear. More...
 
class  Sheet
 event sheet More...
 

Public Types

enum  Priority { UNDER , EQUAL , OVER }
 Priority More...
 
enum  MoveType { NONE , RANDOM , FOLLOW , ESCAPE }
 movement 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

Sheet getSheet (Guid guid)
 
bool IsValid ()
 
 Event ()
 
override void save (System.IO.BinaryWriter writer)
 
override void load (System.IO.BinaryReader reader)
 
override bool initializingAfterLoading ()
 
void addNewSheet (Catalog catalog, string name, Common.Rom.Script.Trigger trigger=Script.Trigger.TALK)
 
void saveToText (System.IO.StreamWriter writer)
 
bool tryLoadFromText (System.IO.StreamReader reader, List< string > usedVariableNameList)
 
bool loadFromText (System.IO.StreamReader reader, bool isCreateNewVariableName)
 
override void ChangeId (Dictionary< Guid, RomItem > inChangeIdDic)
 
- 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 templateType = Guid.Empty
 
string templateInfo = ""
 
Property2 property2 = new Property2()
 
List< SheetsheetList = new List<Sheet>()
 
bool valid = true
 
bool parentValid = true
 
int SymbolColor = 0
 
- Public Attributes inherited from Yukar.Common.Rom.RomItem
Guid guId
 
String name
 
string tags = ""
 
string category = ""
 

Static Public Attributes

const int maxWalkCnt = 100
 
const float maxTime = 120
 
const float MAX_HEIGHT = 50
 
- 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
 

Properties

Sheet FirstSheet [get]
 
Guid Graphic [get]
 
string Motion [get]
 
string SharpScriptPath [get, set]
 
Guid CastGuid [get, set]
 
Guid ParentGuid [get, set]
 
RomItem ParentRom [get]
 
Cast Cast [get]
 
CastType CastType [get]
 
bool BulletAppearFloating [get]
 
bool BulletIgnoreCollision [get]
 
bool BulletIgnoreSameTypeCollision [get]
 
bool BulletGeneratePriorty [get]
 
Guid BulletShotSE [get]
 
int BulletMaxNum [get]
 
int BulletShotNum [get]
 
float BulletShotInterval [get]
 
bool BulletRapidFire [get]
 
bool BulletNoDamage [get]
 
bool UseBulletDelWalkCount [get]
 
int BulletDelWalkCount [get]
 
bool UseBulletDelTime [get]
 
float BulletDelTime [get]
 
bool BulletDelCollisionNone [get]
 
bool BulletDelCollisionHero [get]
 
bool BulletDelCollisionMonster [get]
 
bool BulletDelCollisionMap [get]
 
bool BulletDelOutOfScreen [get]
 
float InvincibleTime [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)
 
- Protected Member Functions inherited from Yukar.Common.Rom.RomItem
virtual void Dispose (bool disposing)
 

Detailed Description

Class that holds event information

Member Enumeration Documentation

◆ MoveType

enum Yukar.Common.Rom.Event.MoveType

movement type

Enumerator
NONE 
RANDOM 
FOLLOW 
ESCAPE 

◆ Priority

enum Yukar.Common.Rom.Event.Priority

Priority

Enumerator
UNDER 
EQUAL 
OVER 

Constructor & Destructor Documentation

◆ Event()

Yukar.Common.Rom.Event.Event ( )

Member Function Documentation

◆ addNewSheet()

void Yukar.Common.Rom.Event.addNewSheet ( Catalog  catalog,
string  name,
Common.Rom.Script.Trigger  trigger = Script.Trigger.TALK 
)

◆ ChangeId()

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

◆ getSheet()

Sheet Yukar.Common.Rom.Event.getSheet ( Guid  guid)

◆ initializingAfterLoading()

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

Reimplemented from Yukar.Common.Rom.RomItem.

◆ IsValid()

bool Yukar.Common.Rom.Event.IsValid ( )

◆ load()

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

◆ loadFromText()

bool Yukar.Common.Rom.Event.loadFromText ( System.IO.StreamReader  reader,
bool  isCreateNewVariableName 
)

◆ save()

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

◆ saveToText()

void Yukar.Common.Rom.Event.saveToText ( System.IO.StreamWriter  writer)

◆ tryLoadFromText()

bool Yukar.Common.Rom.Event.tryLoadFromText ( System.IO.StreamReader  reader,
List< string >  usedVariableNameList 
)

Member Data Documentation

◆ MAX_HEIGHT

const float Yukar.Common.Rom.Event.MAX_HEIGHT = 50
static

◆ maxTime

const float Yukar.Common.Rom.Event.maxTime = 120
static

◆ maxWalkCnt

const int Yukar.Common.Rom.Event.maxWalkCnt = 100
static

◆ parentValid

bool Yukar.Common.Rom.Event.parentValid = true

◆ property2

Property2 Yukar.Common.Rom.Event.property2 = new Property2()

◆ sheetList

List<Sheet> Yukar.Common.Rom.Event.sheetList = new List<Sheet>()

◆ SymbolColor

int Yukar.Common.Rom.Event.SymbolColor = 0

◆ templateInfo

string Yukar.Common.Rom.Event.templateInfo = ""

◆ templateType

Guid Yukar.Common.Rom.Event.templateType = Guid.Empty

◆ valid

bool Yukar.Common.Rom.Event.valid = true

Property Documentation

◆ BulletAppearFloating

bool Yukar.Common.Rom.Event.BulletAppearFloating
get

◆ BulletDelCollisionHero

bool Yukar.Common.Rom.Event.BulletDelCollisionHero
get

◆ BulletDelCollisionMap

bool Yukar.Common.Rom.Event.BulletDelCollisionMap
get

◆ BulletDelCollisionMonster

bool Yukar.Common.Rom.Event.BulletDelCollisionMonster
get

◆ BulletDelCollisionNone

bool Yukar.Common.Rom.Event.BulletDelCollisionNone
get

◆ BulletDelOutOfScreen

bool Yukar.Common.Rom.Event.BulletDelOutOfScreen
get

◆ BulletDelTime

float Yukar.Common.Rom.Event.BulletDelTime
get

◆ BulletDelWalkCount

int Yukar.Common.Rom.Event.BulletDelWalkCount
get

◆ BulletGeneratePriorty

bool Yukar.Common.Rom.Event.BulletGeneratePriorty
get

◆ BulletIgnoreCollision

bool Yukar.Common.Rom.Event.BulletIgnoreCollision
get

◆ BulletIgnoreSameTypeCollision

bool Yukar.Common.Rom.Event.BulletIgnoreSameTypeCollision
get

◆ BulletMaxNum

int Yukar.Common.Rom.Event.BulletMaxNum
get

◆ BulletNoDamage

bool Yukar.Common.Rom.Event.BulletNoDamage
get

◆ BulletRapidFire

bool Yukar.Common.Rom.Event.BulletRapidFire
get

◆ BulletShotInterval

float Yukar.Common.Rom.Event.BulletShotInterval
get

◆ BulletShotNum

int Yukar.Common.Rom.Event.BulletShotNum
get

◆ BulletShotSE

Guid Yukar.Common.Rom.Event.BulletShotSE
get

◆ Cast

Cast Yukar.Common.Rom.Event.Cast
get

◆ CastGuid

Guid Yukar.Common.Rom.Event.CastGuid
getset

◆ CastType

CastType Yukar.Common.Rom.Event.CastType
get

◆ FirstSheet

Sheet Yukar.Common.Rom.Event.FirstSheet
get

◆ Graphic

Guid Yukar.Common.Rom.Event.Graphic
get

◆ InvincibleTime

float Yukar.Common.Rom.Event.InvincibleTime
get

◆ Motion

string Yukar.Common.Rom.Event.Motion
get

◆ ParentGuid

Guid Yukar.Common.Rom.Event.ParentGuid
getset

◆ ParentRom

RomItem Yukar.Common.Rom.Event.ParentRom
get

◆ SharpScriptPath

string Yukar.Common.Rom.Event.SharpScriptPath
getset

◆ UseBulletDelTime

bool Yukar.Common.Rom.Event.UseBulletDelTime
get

◆ UseBulletDelWalkCount

bool Yukar.Common.Rom.Event.UseBulletDelWalkCount
get