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

A class that holds SGB effect data More...

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

Classes

class  CellDef
 Cell information More...
 
class  ColorDef
 color information More...
 
class  FlashDef
 flash information More...
 
class  Frame
 frame information More...
 
class  NodeDef
 Node information More...
 
class  PosScaleDef
 Position/scale information More...
 
class  RotateDef
 rotation information More...
 

Public Types

enum  InterpolateType {
  NONE , LINEAR , EASE_IN , EASE_OUT ,
  EASE_IN_3X , EASE_OUT_3X
}
 complement type More...
 
enum  OrigPos { ORIG_CENTER , ORIG_FOOT , ORIG_SCREEN }
 origin More...
 
- Public Types inherited from Yukar.Common.Rom.RomItem
enum  ThumbnailStatusType { Empty = 0 , Creating , Created , Failed }
 Thumbnail image generation status More...
 

Public Member Functions

Frame getFrame (int index, bool create=true)
 
Frame getFrameByTiming (int timing, bool create=true)
 
override void save (System.IO.BinaryWriter writer)
 
string saveToCsv (Catalog catalog)
 
override void load (System.IO.BinaryReader reader)
 
override bool initializingAfterLoading ()
 
void setTiming (int index, int value)
 
- 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
 
int nodeNum = 1
 
int numTiming
 
List< Frametimeline = new List<Frame>()
 
List< Guid > extraGraphic = new List<Guid>()
 
OrigPos origPos = OrigPos.ORIG_CENTER
 
- Public Attributes inherited from Yukar.Common.Rom.RomItem
Guid guId
 
String name
 
string tags = ""
 
string category = ""
 

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)
 
- 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]
 

Detailed Description

A class that holds SGB effect data

Member Enumeration Documentation

◆ InterpolateType

enum Yukar.Common.Rom.Effect.InterpolateType

complement type

Enumerator
NONE 
LINEAR 
EASE_IN 
EASE_OUT 
EASE_IN_3X 
EASE_OUT_3X 

◆ OrigPos

enum Yukar.Common.Rom.Effect.OrigPos

origin

Enumerator
ORIG_CENTER 
ORIG_FOOT 
ORIG_SCREEN 

Member Function Documentation

◆ getFrame()

Frame Yukar.Common.Rom.Effect.getFrame ( int  index,
bool  create = true 
)

◆ getFrameByTiming()

Frame Yukar.Common.Rom.Effect.getFrameByTiming ( int  timing,
bool  create = true 
)

◆ initializingAfterLoading()

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

Reimplemented from Yukar.Common.Rom.RomItem.

◆ load()

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

◆ save()

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

◆ saveToCsv()

string Yukar.Common.Rom.Effect.saveToCsv ( Catalog  catalog)

◆ setTiming()

void Yukar.Common.Rom.Effect.setTiming ( int  index,
int  value 
)

Member Data Documentation

◆ extraGraphic

List<Guid> Yukar.Common.Rom.Effect.extraGraphic = new List<Guid>()

◆ graphic

Guid Yukar.Common.Rom.Effect.graphic

◆ nodeNum

int Yukar.Common.Rom.Effect.nodeNum = 1

◆ numTiming

int Yukar.Common.Rom.Effect.numTiming

◆ origPos

OrigPos Yukar.Common.Rom.Effect.origPos = OrigPos.ORIG_CENTER

◆ timeline

List<Frame> Yukar.Common.Rom.Effect.timeline = new List<Frame>()