forked from Moux23333/FreeSR
30 lines
877 B
C#
30 lines
877 B
C#
namespace FreeSR.Gateserver.Manager.Handlers
|
|
{
|
|
using FreeSR.Gateserver.Manager.Handlers.Core;
|
|
using FreeSR.Gateserver.Network;
|
|
using FreeSR.Proto;
|
|
internal static class ItemReqGroup
|
|
{
|
|
[Handler(CmdType.GetBagCsReq)]
|
|
public static void OnGetBagCsReq(NetSession session, int cmdId, object _)
|
|
{
|
|
session.Send(CmdType.GetBagScRsp, new GetBagScRsp
|
|
{
|
|
Retcode = Retcode.RETCODE_RET_SUCC,
|
|
MaterialList = new List<Material>
|
|
{
|
|
new Material
|
|
{
|
|
Tid = 101,
|
|
Num = 10
|
|
},
|
|
new Material
|
|
{
|
|
Tid = 102,
|
|
Num = 10
|
|
}
|
|
}
|
|
});
|
|
}
|
|
}
|
|
}
|