public static LuaRefInfo Create(byte cmd, string name, string addr, byte type) { LuaRefInfo r = m_pool.GetObject(); r.cmd = cmd; r.name = name; r.addr = addr; r.type = type; return(r); }
public LuaRefInfo Clone() { LuaRefInfo result = new LuaRefInfo(); result.cmd = this.cmd; result.frameCount = this.frameCount; result.name = this.name; result.addr = this.addr; result.type = this.type; return(result); }
public static void SendRemoveRef(string funName, string funAddr, byte type) { LuaRefInfo refInfo = LuaRefInfo.Create(0, funName, funAddr, type); NetWorkClient.SendMessage(refInfo); }
public static LuaRefInfo Create() { LuaRefInfo r = m_pool.GetObject(); return(r); }