diff --git a/Assets/PerfectWorld/Scripts/Managers/CECNPCMan.cs b/Assets/PerfectWorld/Scripts/Managers/CECNPCMan.cs index da872c1e90..948d9bb4d0 100644 --- a/Assets/PerfectWorld/Scripts/Managers/CECNPCMan.cs +++ b/Assets/PerfectWorld/Scripts/Managers/CECNPCMan.cs @@ -9,7 +9,6 @@ using System.Buffers.Binary; using System.Collections.Generic; using System.Runtime.InteropServices; using BrewMonster.Network; -using Unity.VisualScripting; using UnityEngine; public class CECNPCMan : IMsgHandler diff --git a/Assets/PerfectWorld/Scripts/Managers/EC_HPWorkSpell.cs b/Assets/PerfectWorld/Scripts/Managers/EC_HPWorkSpell.cs index 26b153b95d..7e3171f17a 100644 --- a/Assets/PerfectWorld/Scripts/Managers/EC_HPWorkSpell.cs +++ b/Assets/PerfectWorld/Scripts/Managers/EC_HPWorkSpell.cs @@ -1,5 +1,4 @@ using CSNetwork.GPDataType; -using Unity.VisualScripting; using UnityEngine; using static BrewMonster.Scripts.CECHPWorkSpell.Spell_magic_state; namespace BrewMonster.Scripts diff --git a/Assets/PerfectWorld/Scripts/Managers/EC_HPWorkTrace.cs b/Assets/PerfectWorld/Scripts/Managers/EC_HPWorkTrace.cs index fdd5b8c8f9..7ca4f5100d 100644 --- a/Assets/PerfectWorld/Scripts/Managers/EC_HPWorkTrace.cs +++ b/Assets/PerfectWorld/Scripts/Managers/EC_HPWorkTrace.cs @@ -6,7 +6,6 @@ using CSNetwork.GPDataType; using System; using System.Runtime.ConstrainedExecution; using PerfectWorld.Scripts; -using Unity.VisualScripting; using UnityEngine; /////////////////////////////////////////////////////////////////////////// diff --git a/Assets/PerfectWorld/Scripts/Managers/EC_Inventory.cs b/Assets/PerfectWorld/Scripts/Managers/EC_Inventory.cs index 4240c01bfb..5e020ab927 100644 --- a/Assets/PerfectWorld/Scripts/Managers/EC_Inventory.cs +++ b/Assets/PerfectWorld/Scripts/Managers/EC_Inventory.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using Unity.VisualScripting; using UnityEngine; namespace BrewMonster.Scripts.Managers diff --git a/Assets/PerfectWorld/Scripts/Managers/EC_IvtrItem/EC_IvtrEquip.cs b/Assets/PerfectWorld/Scripts/Managers/EC_IvtrItem/EC_IvtrEquip.cs index c90d41ef89..1ee7462d39 100644 --- a/Assets/PerfectWorld/Scripts/Managers/EC_IvtrItem/EC_IvtrEquip.cs +++ b/Assets/PerfectWorld/Scripts/Managers/EC_IvtrItem/EC_IvtrEquip.cs @@ -14,9 +14,6 @@ using System.Text.RegularExpressions; using System.Reflection; using BrewMonster.Scripts.Managers; using BrewMonster.Scripts; -using UnityEngine.AddressableAssets; -using CSNetwork.Protocols; -using Unity.VisualScripting; namespace PerfectWorld.Scripts.Managers { diff --git a/Assets/PerfectWorld/Scripts/ModelFiles/CECTaoistRank.cs b/Assets/PerfectWorld/Scripts/ModelFiles/CECTaoistRank.cs index 0ecaca5d44..ae799e4970 100644 --- a/Assets/PerfectWorld/Scripts/ModelFiles/CECTaoistRank.cs +++ b/Assets/PerfectWorld/Scripts/ModelFiles/CECTaoistRank.cs @@ -1,4 +1,3 @@ -using Unity.VisualScripting; using UnityEngine; namespace BrewMonster diff --git a/Assets/PerfectWorld/Scripts/Move/CECPlayer.cs b/Assets/PerfectWorld/Scripts/Move/CECPlayer.cs index 2fc72a6358..e7111f217c 100644 --- a/Assets/PerfectWorld/Scripts/Move/CECPlayer.cs +++ b/Assets/PerfectWorld/Scripts/Move/CECPlayer.cs @@ -1,26 +1,17 @@ -using Animancer; -using BrewMonster; using BrewMonster.Managers; using BrewMonster.Network; using BrewMonster.PerfectWorld.Scripts.Vfx; using BrewMonster.Scripts; -using BrewMonster.Scripts; using BrewMonster.Scripts.Managers; using BrewMonster.Scripts.Skills; using CSNetwork.GPDataType; using ModelRenderer.Scripts.GameData; -using PerfectWorld.Scripts.Managers; using System; using System.Collections.Generic; using System.Threading.Tasks; -using System.Xml.Linq; using TMPro; -using Unity.VisualScripting; using UnityEngine; using UnityEngine.SceneManagement; -using UnityEngine.UIElements; -using static BrewMonster.CECPlayer; -using BrewMonster.Network; using System.Runtime.InteropServices; using PerfectWorld.Scripts.Managers.BrewMonster.Managers; using CSNetwork; diff --git a/Assets/PerfectWorld/Scripts/NPC/CECMonster.cs b/Assets/PerfectWorld/Scripts/NPC/CECMonster.cs index fb1bbc6b59..af051e4245 100644 --- a/Assets/PerfectWorld/Scripts/NPC/CECMonster.cs +++ b/Assets/PerfectWorld/Scripts/NPC/CECMonster.cs @@ -4,9 +4,6 @@ using ModelRenderer.Scripts.GameData; using System; using System.Runtime.InteropServices; using System.Text; -using Unity.VisualScripting; -using UnityEngine; -using static CECNPC; public class CECMonster : CECNPC { diff --git a/Assets/PerfectWorld/Scripts/Objet/Shortcut/CECShortcutSet.cs b/Assets/PerfectWorld/Scripts/Objet/Shortcut/CECShortcutSet.cs index a213c693be..521fdd7c8d 100644 --- a/Assets/PerfectWorld/Scripts/Objet/Shortcut/CECShortcutSet.cs +++ b/Assets/PerfectWorld/Scripts/Objet/Shortcut/CECShortcutSet.cs @@ -22,7 +22,6 @@ using CSNetwork.GPDataType; using CSNetwork.S2CCommand; using System; using System.Collections.Generic; -using Unity.VisualScripting; using UnityEngine; using static BrewMonster.EC_Resource; using static BrewMonster.IconResourceType; diff --git a/Assets/PerfectWorld/Scripts/Skills/CECSCSkill.cs b/Assets/PerfectWorld/Scripts/Skills/CECSCSkill.cs index 9714ea4f15..39d8402f47 100644 --- a/Assets/PerfectWorld/Scripts/Skills/CECSCSkill.cs +++ b/Assets/PerfectWorld/Scripts/Skills/CECSCSkill.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -using Unity.VisualScripting; using static BrewMonster.SkillArrayWrapper; namespace BrewMonster diff --git a/Assets/PerfectWorld/Scripts/Skills/ElementSkill.cs b/Assets/PerfectWorld/Scripts/Skills/ElementSkill.cs index 2f24ba1bc2..803301005d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/ElementSkill.cs +++ b/Assets/PerfectWorld/Scripts/Skills/ElementSkill.cs @@ -4,7 +4,6 @@ using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; -using Unity.VisualScripting; namespace BrewMonster.Scripts.Skills { diff --git a/Assets/PerfectWorld/Scripts/Task/TaskTemplContainerSO.cs b/Assets/PerfectWorld/Scripts/Task/TaskTemplContainerSO.cs index ca680cf261..de231005e8 100644 --- a/Assets/PerfectWorld/Scripts/Task/TaskTemplContainerSO.cs +++ b/Assets/PerfectWorld/Scripts/Task/TaskTemplContainerSO.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.IO; -using Unity.VisualScripting; using UnityEngine; using UnityEngine.Serialization; diff --git a/Assets/PerfectWorld/Scripts/Task/UI/DlgTask.cs b/Assets/PerfectWorld/Scripts/Task/UI/DlgTask.cs index f0d1f7deac..15e287798d 100644 --- a/Assets/PerfectWorld/Scripts/Task/UI/DlgTask.cs +++ b/Assets/PerfectWorld/Scripts/Task/UI/DlgTask.cs @@ -17,7 +17,6 @@ using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using TMPro; -using Unity.VisualScripting; namespace BrewMonster.Scripts.Task.UI { diff --git a/Assets/PerfectWorld/Scripts/UI/GamePlay/AUIImagePicture.cs b/Assets/PerfectWorld/Scripts/UI/GamePlay/AUIImagePicture.cs index 7933bb173b..786d055af6 100644 --- a/Assets/PerfectWorld/Scripts/UI/GamePlay/AUIImagePicture.cs +++ b/Assets/PerfectWorld/Scripts/UI/GamePlay/AUIImagePicture.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -using Unity.VisualScripting; using UnityEngine; using UnityEngine.UI; diff --git a/Assets/PerfectWorld/Scripts/UI/GamePlay/EC_GameUIMan.cs b/Assets/PerfectWorld/Scripts/UI/GamePlay/EC_GameUIMan.cs index 684d10e5d0..b1b532ee89 100644 --- a/Assets/PerfectWorld/Scripts/UI/GamePlay/EC_GameUIMan.cs +++ b/Assets/PerfectWorld/Scripts/UI/GamePlay/EC_GameUIMan.cs @@ -10,9 +10,7 @@ using System; using System.Collections.Generic; using System.IO; using System.Linq; -using Unity.VisualScripting; using UnityEngine; -using static UnityEngine.Rendering.DebugUI; namespace BrewMonster.UI { diff --git a/Assets/PerfectWorld/Scripts/UI/ShopDetailPanel.cs b/Assets/PerfectWorld/Scripts/UI/ShopDetailPanel.cs index f351d1ba91..2ae252e81c 100644 --- a/Assets/PerfectWorld/Scripts/UI/ShopDetailPanel.cs +++ b/Assets/PerfectWorld/Scripts/UI/ShopDetailPanel.cs @@ -3,7 +3,6 @@ using NUnit.Framework; using System; using System.Collections.Generic; using TMPro; -using Unity.VisualScripting; using UnityEngine; using UnityEngine.UI; diff --git a/Assets/Scripts/CECHostPlayer.Inventory.cs b/Assets/Scripts/CECHostPlayer.Inventory.cs index 86c64f28ad..c6105f2b43 100644 --- a/Assets/Scripts/CECHostPlayer.Inventory.cs +++ b/Assets/Scripts/CECHostPlayer.Inventory.cs @@ -22,13 +22,6 @@ namespace BrewMonster var data = Msg.dwParam1 as byte[]; int cmd = Convert.ToInt32(Msg.dwParam2); int hostId = Convert.ToInt32(Msg.dwParam3); - - if (Application.isEditor || Debug.isDebugBuild) - { - if (cmd == CommandID.OWN_IVTR_DATA || cmd == CommandID.OWN_IVTR_DETAIL_DATA || cmd == CommandID.CHANGE_IVTR_SIZE) - Debug.Log($"[INVNET] HST_IVTRINFO cmd={cmd} bytes={data?.Length ?? 0} hostId={hostId}"); - } - switch (cmd) { case CommandID.OWN_IVTR_DATA: diff --git a/Assets/Scripts/CECHostPlayer.cs b/Assets/Scripts/CECHostPlayer.cs index a534d0d973..63405d1aee 100644 --- a/Assets/Scripts/CECHostPlayer.cs +++ b/Assets/Scripts/CECHostPlayer.cs @@ -43,9 +43,9 @@ namespace BrewMonster private CECHPWorkMan m_pWorkMan; // Host work manager private uint m_dwLIES; // Logic-influence extend states private FACTION_FORTRESS_ENTER m_fortressEnter; // ½øÈë»ùµØÐÅÏ¢ - private PVPINFO m_pvp; // pvp information - private bool m_bInSanctuary = false; // true, player is in sanctuary - private int m_idFaction = 0; // ID of player's faction + //private PVPINFO m_pvp; // pvp information + //private bool m_bInSanctuary = false; // true, player is in sanctuary + //private int m_idFaction = 0; // ID of player's faction public bool m_bPrepareFight = false; // true, prepare to fight private int m_iJumpCount = 0; private bool m_bJumpInWater = false; @@ -1470,10 +1470,10 @@ namespace BrewMonster } // Get faction ID - public int GetFactionID() - { - return m_idFaction; - } + //public int GetFactionID() + //{ + // return m_idFaction; + //} public void SetPrayDistancePlus(float prayDistancePlus) { m_fPrayDistancePlus = prayDistancePlus;