doc[protocol]: update doc

This commit is contained in:
godotg
2024-04-02 22:16:03 +08:00
parent 43969629fa
commit 3630723cfe
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ It is difficult for a project's protocol body class to exceed 3 w, and there wil
your protocol number a little more compactly, so that your protocol number will not exceed 3 w
```
- There are three ways to indicate that the protocol class
- There are four ways to indicate that the protocol class
- The first uses annotations: @Protocol(id = protocolId)
```
@Protocol(id = 104)
+1 -1
View File
@@ -101,7 +101,7 @@ cpu i9900k
一个项目的协议体类很难超过3w,会有工具自动把你的协议号打包的紧凑一点,这样你的协议号就不会超过3w了
```
- 协议类必须标注协议号,有种方式
- 协议类必须标注协议号,有种方式
- 第一种使用注解:@Protocol(id = protocolId)
```
@Protocol(id = 104)