초기커밋

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,49 @@
using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using ServerCore;
using ServerBase;
using ServerCommon;
using ServerCommon.BusinessLogDomain;
using MetaAssets;
namespace GameServer;
public class UgcNpcRankEntity : EntityBase
{
public const int DefaultPageNum = 0;
public const int DefaultPageSize = 100;
public UgcNpcRankEntity() : base(EntityType.UgcNpcRank)
{
}
public override async Task<Result> onInit()
{
// attribute
addEntityAttribute(new UgcNpcLikeRankAttribute(this));
addEntityAttribute(new UgcNpcCommunicationRankAttribute(this));
addEntityAttribute(new UgcNpcQuestRankAttribute(this));
// action
addEntityAction(new UgcNpcLikeRankAction(this));
addEntityAction(new UgcNpcCommunicationRankAction(this));
addEntityAction(new UgcNpcQuestRankAction(this));
addEntityAction(new UgcNpcRankManageAction(this));
return await Task.FromResult(new Result());
}
public override string toBasicString()
{
return $"{this.getTypeName()}";
}
public override string toSummaryString()
{
return $"{this.getTypeName()}";
}
}