mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 12:46:03 +08:00
Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled! - Code formatted by Resharper plugin <3
This commit is contained in:
@@ -1,31 +1,28 @@
|
||||
using EggLink.DanhengServer.Data;
|
||||
using EggLink.DanhengServer.Proto;
|
||||
using EggLink.DanhengServer.Server.Packet;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Scene
|
||||
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Scene;
|
||||
|
||||
public class PacketContentPackageSyncDataScNotify : BasePacket
|
||||
{
|
||||
public class PacketContentPackageSyncDataScNotify : BasePacket
|
||||
public PacketContentPackageSyncDataScNotify() : base(CmdIds.ContentPackageSyncDataScNotify)
|
||||
{
|
||||
public PacketContentPackageSyncDataScNotify() : base(CmdIds.ContentPackageSyncDataScNotify)
|
||||
var proto = new ContentPackageSyncDataScNotify
|
||||
{
|
||||
var proto = new ContentPackageSyncDataScNotify()
|
||||
Data = new ContentPackageData
|
||||
{
|
||||
Data = new ContentPackageData()
|
||||
{
|
||||
ContentInfoList = { GameData.ContentPackageConfigData.Select(x => new ContentInfo()
|
||||
ContentInfoList =
|
||||
{
|
||||
GameData.ContentPackageConfigData.Select(x => new ContentInfo
|
||||
{
|
||||
ContentId = (uint)x.Key,
|
||||
Status = ContentPackageStatus.Finished
|
||||
}) }
|
||||
},
|
||||
};
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
SetData(proto);
|
||||
}
|
||||
SetData(proto);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user