초기커밋
This commit is contained in:
58
ServerCommon/0. Base/BaseInterface.cs
Normal file
58
ServerCommon/0. Base/BaseInterface.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user