초기커밋
This commit is contained in:
31
ServerCommon/0. Base/BaseGetSet.cs
Normal file
31
ServerCommon/0. Base/BaseGetSet.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
|
||||
using Nettention.Proud;
|
||||
|
||||
|
||||
|
||||
using ServerBase;
|
||||
|
||||
|
||||
using MODULE_ID = System.UInt32;
|
||||
|
||||
|
||||
namespace ServerCommon;
|
||||
|
||||
|
||||
//=============================================================================================
|
||||
//
|
||||
//=============================================================================================
|
||||
public abstract partial class ProudNetListener : ListenSessionBase, IModule
|
||||
{
|
||||
public ServerLogicBase getServerLogicBase() => m_server_logic_base;
|
||||
|
||||
public ModuleContext getModuleContext() => m_module_context;
|
||||
}
|
||||
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