-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
44 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,39 @@ | ||
namespace M2Server | ||
using SystemModule.Data; | ||
|
||
namespace M2Server | ||
{ | ||
public interface IDataSource | ||
{ | ||
/// <summary> | ||
/// 读取物品数据 | ||
/// </summary> | ||
/// <returns></returns> | ||
public int LoadItemsDB(); | ||
|
||
/// <summary> | ||
/// 读取技能数据 | ||
/// </summary> | ||
/// <returns></returns> | ||
public int LoadMagicDB(); | ||
|
||
/// <summary> | ||
/// 读取怪物数据 | ||
/// </summary> | ||
/// <returns></returns> | ||
int LoadMonsterDB(); | ||
|
||
/// <summary> | ||
/// 加载寄售系统数据 | ||
/// </summary> | ||
void LoadSellOffItemList(); | ||
|
||
/// <summary> | ||
/// 保存寄售系统数据 | ||
/// </summary> | ||
void SaveSellOffItemList(); | ||
|
||
int LoadUpgradeWeaponRecord(string sNPCName, IList<WeaponUpgradeInfo> DataList); | ||
|
||
int SaveUpgradeWeaponRecord(string sNPCName, IList<WeaponUpgradeInfo> DataList); | ||
} | ||
} |