mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-12 15:04:36 +01:00
add SeenProductOffer
This commit is contained in:
@@ -7,11 +7,12 @@ namespace EpinelPS.LobbyServer.Msgs.Shop
|
||||
{
|
||||
protected override async Task HandleAsync()
|
||||
{
|
||||
var x = await ReadData<ResListSeenProductOffer>();
|
||||
var x = await ReadData<ReqListSeenProductOffer>();
|
||||
|
||||
// TODO
|
||||
// TODO: Figure out a way to disable ads
|
||||
|
||||
var response = new ResListSeenProductOffer();
|
||||
|
||||
var response = new ReqListSeenProductOffer();
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
|
||||
19
EpinelPS/LobbyServer/Msgs/Shop/SeenProductOffer.cs
Normal file
19
EpinelPS/LobbyServer/Msgs/Shop/SeenProductOffer.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using EpinelPS.Utils;
|
||||
|
||||
namespace EpinelPS.LobbyServer.Msgs.Shop
|
||||
{
|
||||
[PacketPath("/productoffer/setseen")]
|
||||
public class SeenProductOffer : LobbyMsgHandler
|
||||
{
|
||||
protected override async Task HandleAsync()
|
||||
{
|
||||
var x = await ReadData<ReqSetSetSeenProductOffer>();
|
||||
|
||||
// TODO: Figure out a way to disable ads
|
||||
|
||||
var response = new ResSetSetSeenProductOffer();
|
||||
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user