From 3630723cfe9910acbd186469bcfd63bf0e6f26b3 Mon Sep 17 00:00:00 2001 From: godotg Date: Tue, 2 Apr 2024 22:16:03 +0800 Subject: [PATCH] doc[protocol]: update doc --- protocol/README.md | 2 +- protocol/README_CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/README.md b/protocol/README.md index b9555080..0038bfd8 100644 --- a/protocol/README.md +++ b/protocol/README.md @@ -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) diff --git a/protocol/README_CN.md b/protocol/README_CN.md index b0307701..9c278129 100644 --- a/protocol/README_CN.md +++ b/protocol/README_CN.md @@ -101,7 +101,7 @@ cpu: i9900k 一个项目的协议体类很难超过3w,会有工具自动把你的协议号打包的紧凑一点,这样你的协议号就不会超过3w了 ``` -- 协议类必须标注协议号,有三种方式 +- 协议类必须标注协议号,有四种方式 - 第一种使用注解:@Protocol(id = protocolId) ``` @Protocol(id = 104)