清理namespace

This commit is contained in:
ALIENJACK\alien 2025-01-23 16:23:39 +08:00
parent 8f04bff7b7
commit d57d9eeb4b
9 changed files with 8 additions and 13 deletions

View File

@ -1,5 +1,4 @@
using AxibugEmuOnline.Client.ClientCore; using AxibugEmuOnline.Client.ClientCore;
using System.Text;
using UnityEngine; using UnityEngine;
namespace AxibugEmuOnline.Client namespace AxibugEmuOnline.Client
@ -28,7 +27,7 @@ namespace AxibugEmuOnline.Client
private void Awake() private void Awake()
{ {
#if UNITY_EDITOR #if UNITY_EDITOR
App.Init(bTestSkipWebApiToConServer, mTestSrvIP, bUseLocalWebApi,mLocalWebApi); App.Init(bTestSkipWebApiToConServer, mTestSrvIP, bUseLocalWebApi, mLocalWebApi);
dev_UUID = SystemInfo.deviceUniqueIdentifier; dev_UUID = SystemInfo.deviceUniqueIdentifier;
if (bEditorUUID) if (bEditorUUID)
{ {

View File

@ -498,7 +498,7 @@ namespace AxibugEmuOnline.Client.Manager
/// <param name="LoadStateNeedTimeUs">加载即时存档所需平均时间(微秒)</param> /// <param name="LoadStateNeedTimeUs">加载即时存档所需平均时间(微秒)</param>
/// <param name="VideoFrameShowNeedTimeUs">视频一帧所需时间(微秒)</param> /// <param name="VideoFrameShowNeedTimeUs">视频一帧所需时间(微秒)</param>
/// <param name="AudioFramePlayNeedTimeUs">音频处理一帧所需时间(微秒)</param> /// <param name="AudioFramePlayNeedTimeUs">音频处理一帧所需时间(微秒)</param>
public void SendRoomPlayerReady(float PushFrameNeedTimeUs,float LoadStateNeedTimeUs,float VideoFrameShowNeedTimeUs,float AudioFramePlayNeedTimeUs) public void SendRoomPlayerReady(float PushFrameNeedTimeUs, float LoadStateNeedTimeUs, float VideoFrameShowNeedTimeUs, float AudioFramePlayNeedTimeUs)
{ {
App.log.Debug("上报准备完毕"); App.log.Debug("上报准备完毕");
_Protobuf_Room_Player_Ready.PushFrameNeedTimeUs = PushFrameNeedTimeUs; _Protobuf_Room_Player_Ready.PushFrameNeedTimeUs = PushFrameNeedTimeUs;

View File

@ -1,7 +1,6 @@
using AxibugEmuOnline.Client.ClientCore; using AxibugEmuOnline.Client.ClientCore;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Security.Policy;
using UnityEngine; using UnityEngine;
namespace AxibugEmuOnline.Client namespace AxibugEmuOnline.Client

View File

@ -98,7 +98,7 @@ namespace AxibugEmuOnline.Client
void RecvUpLoadGameSav(byte[] reqData) void RecvUpLoadGameSav(byte[] reqData)
{ {
Protobuf_Mine_UpLoadGameSav_RESP msg = ProtoBufHelper.DeSerizlize<Protobuf_Mine_UpLoadGameSav_RESP>(reqData); Protobuf_Mine_UpLoadGameSav_RESP msg = ProtoBufHelper.DeSerizlize<Protobuf_Mine_UpLoadGameSav_RESP>(reqData);
Eventer.Instance.PostEvent(EEvent.OnNetUploaded, msg.RomID,msg.SavDataIdx, msg.UploadSevInfo); Eventer.Instance.PostEvent(EEvent.OnNetUploaded, msg.RomID, msg.SavDataIdx, msg.UploadSevInfo);
} }
/// <summary> /// <summary>

View File

@ -36,7 +36,7 @@ namespace AxibugEmuOnline.Client
Debug.Log($"快照加载:{Helper.FileMD5Hash(App.roomMgr.RawData)}"); Debug.Log($"快照加载:{Helper.FileMD5Hash(App.roomMgr.RawData)}");
m_inGameUI.Core.LoadStateFromBytes(App.roomMgr.RawData); m_inGameUI.Core.LoadStateFromBytes(App.roomMgr.RawData);
//TODO ready时上报性能指标 //TODO ready时上报性能指标
App.roomMgr.SendRoomPlayerReady(0,0,0,0); App.roomMgr.SendRoomPlayerReady(0, 0, 0, 0);
break; break;
case 2: case 2:
m_step = -1; m_step = -1;

View File

@ -73,7 +73,7 @@ namespace AxibugEmuOnline.Client
if (romPreviewWraper.On) if (romPreviewWraper.On)
{ {
XMBCG_For_RomPreviewBigPic.gameObject.SetActive(false); XMBCG_For_RomPreviewBigPic.gameObject.SetActive(false);
RomPreviewBigPic.gameObject.SetActive(true); RomPreviewBigPic.gameObject.SetActive(true);
} }
else if (!romPreviewWraper.On) else if (!romPreviewWraper.On)
{ {

View File

@ -30,11 +30,11 @@ namespace AxibugEmuOnline.Client
{ {
m_currentCom = com_floatEdit; m_currentCom = com_floatEdit;
} }
else if(valueMenu.ValueType == typeof(int)) else if (valueMenu.ValueType == typeof(int))
{ {
m_currentCom = com_intEdit; m_currentCom = com_intEdit;
} }
else if(valueMenu.ValueType == typeof(bool)) else if (valueMenu.ValueType == typeof(bool))
{ {
m_currentCom = com_boolEdit; m_currentCom = com_boolEdit;
} }

View File

@ -1,6 +1,4 @@
using System; using UnityEngine;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
namespace AxibugEmuOnline.Client namespace AxibugEmuOnline.Client

View File

@ -1,6 +1,5 @@
using AxibugEmuOnline.Client.ClientCore; using AxibugEmuOnline.Client.ClientCore;
using AxibugEmuOnline.Client.Event; using AxibugEmuOnline.Client.Event;
using UnityEngine;
namespace AxibugEmuOnline.Client namespace AxibugEmuOnline.Client
{ {