MCPcopy Index your code
hub / github.com/FloatTech/ZeroBot-Plugin / deepCopy

Method deepCopy

plugin/minecraftobserver/model.go:81–88  ·  view source on GitHub ↗

deepCopy 深拷贝

()

Source from the content-addressed store, hash-verified

79
80// deepCopy 深拷贝
81func (ss *serverStatus) deepCopy() (dst *serverStatus) {
82 if ss == nil {
83 return
84 }
85 dst = &serverStatus{}
86 *dst = *ss
87 return
88}
89
90// generateServerStatusMsg 生成服务器状态消息
91func (ss *serverStatus) generateServerStatusMsg() (msg string, iconBase64 string) {

Callers 2

updateServerStatusMethod · 0.80
singleServerScanFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected