59 lines
1.5 KiB
C#
59 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace ServerCommon;
|
|
|
|
//=============================================================================================
|
|
// Meta 데이터를 특정 데이터 타입으로 복사해주는 인터페이스
|
|
//
|
|
// author : kangms
|
|
//
|
|
//=============================================================================================
|
|
public interface ICopyDocFromMeta
|
|
{
|
|
bool copyDocFromMeta(MetaAssets.IMetaData customMeta);
|
|
}
|
|
|
|
public interface ICopyEntityAttributeFromMeta
|
|
{
|
|
bool copyEntityAttributeFromMeta(MetaAssets.IMetaData customMeta);
|
|
}
|
|
|
|
//=============================================================================================
|
|
// Inventory 관련 인터페이스
|
|
//
|
|
// author : kangms
|
|
//
|
|
//=============================================================================================
|
|
|
|
public interface IWithInventoryAccessor
|
|
{
|
|
void clearItemAll();
|
|
|
|
List<ItemBase> getHasItemBases();
|
|
|
|
ServerErrorCode tryEquipWithItemBase(string slotType, ItemBase itemBase);
|
|
|
|
ServerErrorCode tryUnequipWithItemBase(string slotType, out ItemBase? itemBase);
|
|
|
|
void onWriteLog();
|
|
|
|
string toBasicString();
|
|
}
|
|
|
|
//=============================================================================================
|
|
// Quest 관련 인터페이스
|
|
//
|
|
// author : kangms
|
|
//
|
|
//=============================================================================================
|
|
public interface IQuestScriptValidator
|
|
{
|
|
public void init();
|
|
}
|