forked from Moux23333/FreeSR
42 lines
1.2 KiB
C#
42 lines
1.2 KiB
C#
namespace FreeSR.Gateserver.Manager.Handlers
|
|
{
|
|
using FreeSR.Gateserver.Manager.Handlers.Core;
|
|
using FreeSR.Gateserver.Network;
|
|
using FreeSR.Proto;
|
|
|
|
|
|
internal static class SceneReqGroup
|
|
{
|
|
[Handler(CmdType.CmdGetCurSceneInfoCsReq)]
|
|
public static void OnGetCurSceneInfoCsReq(NetSession session, int cmdId, object data)
|
|
{
|
|
SceneInfo scene = new SceneInfo
|
|
{
|
|
GameModeType = 1,
|
|
//Bkmbkahohif = 1,
|
|
//Admbbnbnibk = 1,
|
|
EntryId = 1030101,
|
|
PlaneId = 10301,
|
|
FloorId = 10301001,
|
|
};
|
|
|
|
scene.EntityLists.Add(new SceneEntityInfo
|
|
{
|
|
EntityId = 0,
|
|
GroupId = 0,
|
|
InstId = 0,
|
|
Motion = new MotionInfo()
|
|
{
|
|
Pos = new Vector(),
|
|
Rot = new Vector()
|
|
}
|
|
});
|
|
|
|
session.Send(CmdType.CmdGetCurSceneInfoScRsp, new GetCurSceneInfoScRsp
|
|
{
|
|
Scene = scene,
|
|
Retcode = (uint)RetcodeStatus.RetSucc
|
|
});
|
|
}
|
|
}
|
|
}
|