From b9ec80ad31071d53903df34d6491d6333dda993d Mon Sep 17 00:00:00 2001
From: emDuy <60954467+manhduy1105@users.noreply.github.com>
Date: Thu, 25 Jun 2026 09:21:54 +0700
Subject: [PATCH 1/2] =?UTF-8?q?=C3=A1dsd?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/.idea.BABA_YAGA/.idea/workspace.xml | 84 +++++++++++++++++++++--
Assets/Scripts/Input.meta | 3 -
Assets/Scripts/Network/PlayerInputData.cs | 6 +-
3 files changed, 82 insertions(+), 11 deletions(-)
delete mode 100644 Assets/Scripts/Input.meta
diff --git a/.idea/.idea.BABA_YAGA/.idea/workspace.xml b/.idea/.idea.BABA_YAGA/.idea/workspace.xml
index b4bca0ec..89a77bdb 100644
--- a/.idea/.idea.BABA_YAGA/.idea/workspace.xml
+++ b/.idea/.idea.BABA_YAGA/.idea/workspace.xml
@@ -3,8 +3,19 @@
+
+
+
+
+
+
-
+
+
+
+
+
+
@@ -12,7 +23,6 @@
-
@@ -31,6 +41,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -48,8 +117,12 @@
"RunOnceActivity.MCP Project settings loaded": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
+ "RunOnceActivity.cidr.known.project.marker": "true",
"RunOnceActivity.git.unshallow": "true",
+ "RunOnceActivity.readMode.enableVisualFormatting": "true",
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
+ "cidr.known.project.marker": "true",
+ "codeWithMe.voiceChat.enabledByDefault": "false",
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
"git-widget-placeholder": "main",
"junie.onboarding.icon.badge.shown": "true",
@@ -64,7 +137,7 @@
}
-
+
@@ -74,7 +147,7 @@
-
+
@@ -117,6 +190,9 @@
+
+
+
diff --git a/Assets/Scripts/Input.meta b/Assets/Scripts/Input.meta
deleted file mode 100644
index 66fcb90e..00000000
--- a/Assets/Scripts/Input.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: b8a44deec7f140df980acf765d764f5d
-timeCreated: 1780539795
\ No newline at end of file
diff --git a/Assets/Scripts/Network/PlayerInputData.cs b/Assets/Scripts/Network/PlayerInputData.cs
index 50e01c56..75ea1a28 100644
--- a/Assets/Scripts/Network/PlayerInputData.cs
+++ b/Assets/Scripts/Network/PlayerInputData.cs
@@ -1,3 +1,4 @@
+
using Fusion;
using UnityEngine;
@@ -5,9 +6,6 @@ namespace OnlyScove.Scripts
{
public struct PlayerInputData : INetworkInput
{
- public Vector2 Direction;
- public NetworkBool sprint;
- public NetworkBool jump;
- public Quaternion rot;
+
}
}
From 319f238df1562cca09e00c7a5afc267ba782d72b Mon Sep 17 00:00:00 2001
From: emDuy <60954467+manhduy1105@users.noreply.github.com>
Date: Thu, 25 Jun 2026 10:18:31 +0700
Subject: [PATCH 2/2] asdasdad
---
.idea/.idea.BABA_YAGA/.idea/indexLayout.xml | 8 -----
Assets/Scripts/Network/PlayerInputData.cs | 39 ++++++++++++++++++++-
2 files changed, 38 insertions(+), 9 deletions(-)
delete mode 100644 .idea/.idea.BABA_YAGA/.idea/indexLayout.xml
diff --git a/.idea/.idea.BABA_YAGA/.idea/indexLayout.xml b/.idea/.idea.BABA_YAGA/.idea/indexLayout.xml
deleted file mode 100644
index 7b08163c..00000000
--- a/.idea/.idea.BABA_YAGA/.idea/indexLayout.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Assets/Scripts/Network/PlayerInputData.cs b/Assets/Scripts/Network/PlayerInputData.cs
index 75ea1a28..d2cb5e0a 100644
--- a/Assets/Scripts/Network/PlayerInputData.cs
+++ b/Assets/Scripts/Network/PlayerInputData.cs
@@ -6,6 +6,43 @@ namespace OnlyScove.Scripts
{
public struct PlayerInputData : INetworkInput
{
-
+ // Di chuyển (thường là Vector2 cho X/Y hoặc WASD)
+ public Vector2 Direction;
+
+ // Trạng thái chạy nhanh
+ public NetworkBool sprint;
+
+ // Trạng thái nhảy
+ public NetworkBool jump;
+
+ // Góc quay của Camera/Nhân vật (Dùng Quaternion hoặc Vector3 tùy thuộc vào PlanarRotation của bạn)
+ public Quaternion rot;
+
+ // Vector di chuyển đã qua xử lý (UCC CharacterLocomotion.InputVector)
+ public Vector2 InputVector;
+
+ // Vector di chuyển thô (UCC UltimateCharacterLocomotion.RawInputVector)
+ public Vector2 RawInputVector;
+
+ // Độ lệch xoay của nhân vật (UCC CharacterLocomotion.DeltaRotation)
+ public Vector3 DeltaRotation;
+
+ // Trạng thái ngồi (UCC HeightChange ability)
+ public NetworkBool crouch;
+
+ // Trạng thái ngắm bắn (UCC Aim ability)
+ public NetworkBool aim;
+
+ // Trạng thái sử dụng item/tấn công (UCC Use ability)
+ public NetworkBool use;
+
+ // Trạng thái thay đạn (UCC Reload ability)
+ public NetworkBool reload;
+
+ // Góc Pitch của nguồn nhìn (UCC ILookSource.Pitch)
+ public float LookPitch;
+
+ // Hướng nhìn của nhân vật (UCC ILookSource.LookDirection)
+ public Vector3 LookDirection;
}
}