Blame view

plugin/plugin.go 164 Bytes
5d9cf01c   zhangqijia   plugin 热更
1
2
3
4
5
6
7
8
9
10
11
  package main
  
  import (
  	"fmt"
  	"pro2d/src/components/net"
  )
  
  func IamPluginA(pkg net.MsgPkg) {
  	fmt.Println("Hello, I am PluginB!")
  	fmt.Println(pkg.Head.Length)
  }