Unity-Technologies / Unity-Technologies/com.unity.netcode.gameobjects

Make XXHash NOT internal

未關閉
#2,202 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

Tracking type:feature
主要語言
C#
星號
2.3k
分支
461
平均合併
3 天 16 小時
30 天內合併 PR
20

描述

Since its a static class without any Netcode dependencies, i really see no reason to make this class Internal.
I would like to do some custom hashing in my own scripts, but i can't access this class because it's internal (why?).

This is probably the simplest fix ever, you just need to remove one word : internal.

Thank you.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

在儲存庫中搜尋靜態類別 XXHash 的宣告,並檢查其目前的存取修飾詞。進行所要求的可見性變更,然後驗證自訂外部指令碼可以在不依賴 Netcode 的情況下存取 XXHash。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
networking
Issue 類型
功能
難度
1/5
預估耗時
1 小時以內
活躍度
停滯
描述清晰度
描述清楚
新手友好度
58/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。