mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-18 18:15:46 +00:00
doc[protocol]: update doc
This commit is contained in:
1 parent
43969629fa
commit
3630723cfe
2 files changed
+2
-2
No files matched your search
@@ -101,7 +101,7 @@ cpu: i9900k
|
||||
一个项目的协议体类很难超过3w,会有工具自动把你的协议号打包的紧凑一点,这样你的协议号就不会超过3w了
|
||||
```
|
||||
|
||||
- 协议类必须标注协议号,有三种方式
|
||||
- 协议类必须标注协议号,有四种方式
|
||||
- 第一种使用注解:@Protocol(id = protocolId)
|
||||
```
|
||||
@Protocol(id = 104)
|
||||
|
||||
Reference in new issue
Block a user