ParaScripting::ParaKidsDataProvider Class Reference
[ParaWorld]

List of all members.

Detailed Description

Wrapper of internal ParaWorld data provider.


Public Member Functions

 ParaKidsDataProvider (CKidsDBProvider *pObj)
bool InsertPuzzleRecordFromString (const char *strRecord)
 Insert the new puzzle record to Puzzle_DB.
bool DeletePuzzleRecordByID (int ID)
 delete the existing puzzle record from Puzzle_DB
bool InsertItemRecordFromString (const char *strRecord)
 Insert the new item record to Item_DB.
bool DeleteItemRecordByID (int ID)
 delete the existing item record from Item_DB
bool UpdateItemRecordFromString (const char *strRecord)
 Update existing item record of Item_DB.
const char * SelectItemRecordToString (__int64 ID) const
 Select existing item record of Item_DB.
bool InsertCharacterRecordFromString (const char *strRecord)
 Insert the new character record to Character_DB.
bool DeleteCharacterRecordByID (int ID)
 delete the existing puzzle record from Character_DB
bool InsertChestRecordFromString (const char *strRecord)
 Insert the new chest record to Chest_DB.
bool DeleteChestRecordByID (int ID)
 delete the existing chest record from Chest_DB
bool InsertFruitRecordFromString (const char *strRecord)
 Insert the new fruit record to Fruit_DB.
bool DeleteFruitRecordByID (int ID)
 delete the existing fruit record from Fruit_DB
bool InsertPetAIRecordFromString (const char *strRecord)
 Insert the new petAI record to PetAI_DB.
bool DeletePetAIRecordByID (int ID)
 delete the existing petAI record from PetAI_DB
bool InsertPetRecordFromString (const char *strRecord)
 Insert the new pet record to Pet_DB.
bool DeletePetRecordByID (int ID)
 delete the existing pet record from Pet_DB
bool InsertQuestRecordFromString (const char *strRecord)
 Insert the new quest record to Quest_DB.
bool DeleteQuestRecordByID (int ID)
 delete the existing quest record from Quest_DB
bool InsertTitleRecordFromString (const char *strRecord)
 Insert the new title record to Title_DB.
bool DeleteTitleRecordByID (int ID)
 delete the existing title record from Title_DB

Public Attributes

CKidsDBProvider * m_pObj


Member Function Documentation

bool ParaScripting::ParaKidsDataProvider::InsertPuzzleRecordFromString ( const char *  strRecord  ) 

Insert the new puzzle record to Puzzle_DB.

Parameters:
record,: ID of record will be ignored and filled with actual ID if inserted successfully
Returns:
true if the record is inserted in database

bool ParaScripting::ParaKidsDataProvider::DeletePuzzleRecordByID ( int  ID  ) 

delete the existing puzzle record from Puzzle_DB

Parameters:
ID,: ID of target record
Returns:
true if the record is deleted in database

bool ParaScripting::ParaKidsDataProvider::InsertItemRecordFromString ( const char *  strRecord  ) 

Insert the new item record to Item_DB.

Parameters:
record,: ID of record will be ignored and filled with actual ID if inserted successfully
Returns:
true if the record is inserted in database

bool ParaScripting::ParaKidsDataProvider::DeleteItemRecordByID ( int  ID  ) 

delete the existing item record from Item_DB

Parameters:
ID,: ID of target record
Returns:
true if the record is deleted in database

bool ParaScripting::ParaKidsDataProvider::UpdateItemRecordFromString ( const char *  strRecord  ) 

Update existing item record of Item_DB.

Parameters:
strRecord,: update record with actual ID
Returns:
true if the record is updated in database

const char* ParaScripting::ParaKidsDataProvider::SelectItemRecordToString ( __int64  ID  )  const

Select existing item record of Item_DB.

Parameters:
record,: select record by ID
Returns:
true if the record is selected in database

bool ParaScripting::ParaKidsDataProvider::InsertCharacterRecordFromString ( const char *  strRecord  ) 

Insert the new character record to Character_DB.

Parameters:
record,: ID of record will be ignored and filled with actual ID if inserted successfully
Returns:
true if the record is inserted in database

bool ParaScripting::ParaKidsDataProvider::DeleteCharacterRecordByID ( int  ID  ) 

delete the existing puzzle record from Character_DB

Parameters:
ID,: ID of target record
Returns:
true if the record is deleted in database

bool ParaScripting::ParaKidsDataProvider::InsertChestRecordFromString ( const char *  strRecord  ) 

Insert the new chest record to Chest_DB.

Parameters:
record,: ID of record will be ignored and filled with actual ID if inserted successfully
Returns:
true if the record is inserted in database

bool ParaScripting::ParaKidsDataProvider::DeleteChestRecordByID ( int  ID  ) 

delete the existing chest record from Chest_DB

Parameters:
ID,: ID of target record
Returns:
true if the record is deleted in database

bool ParaScripting::ParaKidsDataProvider::InsertFruitRecordFromString ( const char *  strRecord  ) 

Insert the new fruit record to Fruit_DB.

Parameters:
record,: ID of record will be ignored and filled with actual ID if inserted successfully
Returns:
true if the record is inserted in database

bool ParaScripting::ParaKidsDataProvider::DeleteFruitRecordByID ( int  ID  ) 

delete the existing fruit record from Fruit_DB

Parameters:
ID,: ID of target record
Returns:
true if the record is deleted in database

bool ParaScripting::ParaKidsDataProvider::InsertPetAIRecordFromString ( const char *  strRecord  ) 

Insert the new petAI record to PetAI_DB.

Parameters:
record,: ID of record will be ignored and filled with actual ID if inserted successfully
Returns:
true if the record is inserted in database

bool ParaScripting::ParaKidsDataProvider::DeletePetAIRecordByID ( int  ID  ) 

delete the existing petAI record from PetAI_DB

Parameters:
ID,: ID of target record
Returns:
true if the record is deleted in database

bool ParaScripting::ParaKidsDataProvider::InsertPetRecordFromString ( const char *  strRecord  ) 

Insert the new pet record to Pet_DB.

Parameters:
record,: ID of record will be ignored and filled with actual ID if inserted successfully
Returns:
true if the record is inserted in database

bool ParaScripting::ParaKidsDataProvider::DeletePetRecordByID ( int  ID  ) 

delete the existing pet record from Pet_DB

Parameters:
ID,: ID of target record
Returns:
true if the record is deleted in database

bool ParaScripting::ParaKidsDataProvider::InsertQuestRecordFromString ( const char *  strRecord  ) 

Insert the new quest record to Quest_DB.

Parameters:
record,: ID of record will be ignored and filled with actual ID if inserted successfully
Returns:
true if the record is inserted in database

bool ParaScripting::ParaKidsDataProvider::DeleteQuestRecordByID ( int  ID  ) 

delete the existing quest record from Quest_DB

Parameters:
ID,: ID of target record
Returns:
true if the record is deleted in database

bool ParaScripting::ParaKidsDataProvider::InsertTitleRecordFromString ( const char *  strRecord  ) 

Insert the new title record to Title_DB.

Parameters:
record,: ID of record will be ignored and filled with actual ID if inserted successfully
Returns:
true if the record is inserted in database

bool ParaScripting::ParaKidsDataProvider::DeleteTitleRecordByID ( int  ID  ) 

delete the existing title record from Title_DB

Parameters:
ID,: ID of target record
Returns:
true if the record is deleted in database


Generated on Mon Dec 1 14:34:46 2008 for NPL Scripting Reference for ParaEngine by  doxygen 1.5.2