초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using ServerCore;
using ServerBase;
using ServerCommon;
using ServerCommon.BusinessLogDomain;
using MetaAssets;
namespace GameServer;
public class CaliumStorageEntity : EntityBase, IWithLogActor
{
public CaliumStorageEntity() : base(EntityType.CaliumConverter)
{}
public override async Task<Result> onInit()
{
// attribute
addEntityAttribute(new CaliumStorageAttribute(this));
// action
addEntityAction(new CaliumStorageAction(this));
addEntityAction(new CaliumContentAction(this));
addEntityAction(new CaliumEventAction(this));
addEntityAction(new CaliumWeb3Action(this));
return await base.onInit();
}
public override string toBasicString()
{
return $"{this.getTypeName()}";
}
public override string toSummaryString()
{
return $"{this.getTypeName()}";
}
public virtual ILogActor toLogActor()
{
var server_logic = ServerLogicApp.getServerLogicApp();
var log_info = new CaliumActorLog();
log_info.initLogInfo(
// 서버 정보
server_logic.getServerConfig().getRegionId()
, server_logic.getServerConfig().getWorldId()
, server_logic.getServerType().toServerType()
);
return log_info;
}
}