Пример #1
0
        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);
        }
Пример #2
0
        public static void SendRemoveRef(string funName, string funAddr, byte type)
        {
            LuaRefInfo refInfo = LuaRefInfo.Create(0, funName, funAddr, type);

            NetWorkClient.SendMessage(refInfo);
        }