mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 03:14:47 +00:00
补交
This commit is contained in:
parent
81fee86ba7
commit
ca64b708ac
@ -100,7 +100,7 @@ namespace AppGame.Sync
|
||||
//发送帧数据给服务端
|
||||
JNStateTileInputs tileInputs = new JNStateTileInputs()
|
||||
{
|
||||
TId = 0,
|
||||
TId = PlayerTile ?? (Sockets.Keys.Count > 0 ? Sockets.Keys.Last() : 0),
|
||||
Message = inputs
|
||||
};
|
||||
App.Client.Send((int)NActionEnum.NSyncTileInput,tileInputs);
|
||||
|
@ -51,7 +51,6 @@ namespace Game.JNGFrame.Logic.Entity.Controller
|
||||
{
|
||||
|
||||
if (Input.SInput<IDPlayer>(Auth) is not IDPlayer input || input.MoveVector is null) return;
|
||||
Debug.Log($"收到移动数据: ${input.MoveVector.ToLVector2()}");
|
||||
Move.Vector(input.MoveVector.ToLVector2());
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user