Class GDScriptDocumentGenerate
java.lang.Object
com.iohao.net.extension.codegen.GDScriptDocumentGenerate
- All Implemented Interfaces:
DocumentGenerate
- Since:
- 21.27
- Author:
- 渔民小镇
- date:
- 2025-05-09
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidGenerates the document.protected voidgenerateAction(Document document) protected voidgenerateBroadcast(Document document) protected voidgenerateErrorCode(Document document) voidsetInternalErrorCode(boolean internalErrorCode) true : generate ActionErrorEnumvoidThe storage path of the generated files.voidsetPublicActionCmdName(boolean publicActionCmdName) your .proto pathvoidsetTypeMappingDocument(TypeMappingDocument typeMappingDocument)
-
Constructor Details
-
GDScriptDocumentGenerate
public GDScriptDocumentGenerate()
-
-
Method Details
-
generate
Description copied from interface:DocumentGenerateGenerates the document.- Parameters:
document- document
-
generateAction
-
generateBroadcast
-
generateErrorCode
-
setInternalErrorCode
public void setInternalErrorCode(boolean internalErrorCode) true : generate ActionErrorEnum -
setPublicActionCmdName
public void setPublicActionCmdName(boolean publicActionCmdName) your .proto path -
setPath
The storage path of the generated files. By default, it will be generated in the ./target/action directory -
setTypeMappingDocument
-