doc[protocol]: update doc

This commit is contained in:
godotg committed 2024-04-02 22:16:03 +08:00
1 parent 43969629fa
commit 3630723cfe
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ cpu: i9900k
一个项目的协议体类很难超过3w,会有工具自动把你的协议号打包的紧凑一点,这样你的协议号就不会超过3w了
```
- 协议类必须标注协议号,有三种方式
- 协议类必须标注协议号,有四种方式
- 第一种使用注解:@Protocol(id = protocolId)
```
@Protocol(id = 104)