Header

  1. View current page

    꿈꾸는자의 생각의 파편과 나열...

Profile_image?t=1222470982&type=small
꿈꾸는자가 생각하는 생각의 파편들과... 그가 꿈꾸는 새상들... 그리고, 끄적 끄적~
2

직업 관련 클래스 정보

   TJobBase = class(TObject)
  public
    JOBID : Byte;           // 직업의ID
    Lvl : Word;             // 레벨
    REther : Integer;       // 요구에테르
    BHP : Integer;          // 기본 체력
    BMP : Integer;          // 기본 마력
    BIP : Integer;          // 기본 지능
    BPP : Integer;          // 기본 힘
    BSP : Integer;          // 기본 속도
    BHPRgnTime : LongWord;  // 기본 체력 회복 시간
    BHPRgnValue : Integer;  // 기본 체력 회복 값
    BMPRgnTime : LongWord;  // 기본 마나 회복 시간
    BMPRgnValue : Integer;  // 기본 마나 회복 값
    BPrecision : Integer;   // 기본 명중력
    BDodge : Integer;       // 기본 회피력
    BPAP : Integer;         // 기본 물리 공격력
    BPDP : Integer;         // 기본 물리 방어력
    BMAP : Integer;         // 기본 마법 공격력
    BMDP : Integer;         // 기본 마법 방어력

    procedure LoadFromDataSet( DS: TDataSet );
    procedure WriteToFile( Handle: Integer );
  end;

  TJobData = class(TObject)
  private
    FLevelDatas: TList;

  public
    JOBID : Byte;           // 직업 ID
    Name : String;          // 직업 명
    EngName : String;       // 직업 영문명
    MaxLvl : Word;          // 직업의 최고 레벨
    Description : String;   // 설명
    EDescription : String;  // 영문 설명

    constructor Create;
    destructor Destroy;
    procedure Append( AJobBase: TJobBase );
    function GetJobBase( ALevel : Integer ): TJobBase;
    procedure LoadFromDataSet( DS: TDataSet );
    procedure WriteToFile( Handle: Integer );
  end;

History

Last edited on 05/01/2007 18:04 by 꿈꾸는자

Comments (0)

You must log in to leave a comment. Please sign in.