mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-13 06:54:51 +01:00
add dorm and random stuff for fun
This commit is contained in:
@@ -1,12 +1,30 @@
|
||||
using BLHX.Server.Common.Proto.p15;
|
||||
using BLHX.Server.Common.Data;
|
||||
using BLHX.Server.Common.Utils;
|
||||
using BLHX.Server.Common.Proto;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers {
|
||||
internal static class P15 {
|
||||
[PacketHandler(Command.Cs15002, SaveDataAfterRun = true)]
|
||||
static void UseFudaiItemHandler(Connection connection, Packet packet) {
|
||||
var req = packet.Decode<Cs15002>();
|
||||
|
||||
Logger.c.Log("Arg: ");
|
||||
|
||||
foreach (var arg in req.Args)
|
||||
Logger.c.Log(arg + "");
|
||||
|
||||
Logger.c.Log(req.Count + "");
|
||||
Logger.c.Log(req.Id + "");
|
||||
|
||||
connection.Send(new Sc15003() {
|
||||
DropLists = [],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
static class P15ConnectionNotifyExtensions {
|
||||
|
||||
public static void NotifyBagData(this Connection connection) {
|
||||
//List<int> AllItemsKeys = Data.ItemDataStatistics.Where(data => data.Value.Type == 2 && data.Value.Rarity >= 6).ToDictionary().Keys.ToList();
|
||||
List<int> AllItemsKeys = Data.ItemDataStatistics.ToDictionary().Keys.ToList();
|
||||
|
||||
Reference in New Issue
Block a user