Archived
1
0
Fork 0
forked from Moux23333/FreeSR
This repository has been archived on 2024-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
FreeSR/FreeSR.Gateserver/Manager/Handlers/SceneReqGroup.cs

43 lines
1.2 KiB
C#
Raw Normal View History

2024-01-27 13:06:07 +00:00
namespace FreeSR.Gateserver.Manager.Handlers
{
using FreeSR.Gateserver.Manager.Handlers.Core;
using FreeSR.Gateserver.Network;
using FreeSR.Proto;
internal static class SceneReqGroup
{
2024-01-27 13:08:24 +00:00
[Handler(CmdType.CmdGetCurSceneInfoCsReq)]
2024-01-27 13:06:07 +00:00
public static void OnGetCurSceneInfoCsReq(NetSession session, int cmdId, object data)
{
SceneInfo scene = new SceneInfo
{
GameModeType = 1,
2024-01-27 13:08:24 +00:00
//Bkmbkahohif = 1,
//Admbbnbnibk = 1,
EntryId = 1030101,
PlaneId = 10301,
FloorId = 10301001,
2024-01-27 13:06:07 +00:00
};
2024-01-31 04:31:26 +00:00
/*scene.EntityLists.Add(new SceneEntityInfo
2024-01-27 13:06:07 +00:00
{
EntityId = 0,
GroupId = 0,
InstId = 0,
Motion = new MotionInfo()
{
Pos = new Vector(),
Rot = new Vector()
}
2024-01-31 04:31:26 +00:00
});*/
2024-01-27 13:06:07 +00:00
2024-01-27 13:08:24 +00:00
session.Send(CmdType.CmdGetCurSceneInfoScRsp, new GetCurSceneInfoScRsp
2024-01-27 13:06:07 +00:00
{
Scene = scene,
2024-01-27 13:08:24 +00:00
Retcode = (uint)RetcodeStatus.RetSucc
2024-01-27 13:06:07 +00:00
});
}
}
}