Esempio n. 1
0
    static int SendMsgFromLua(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 3);
        NetworkConn     obj  = (NetworkConn)LuaScriptMgr.GetNetObjectSelf(L, 1, "NetworkConn");
        uint            arg0 = (uint)LuaScriptMgr.GetNumber(L, 2);
        LuaStringBuffer arg1 = LuaScriptMgr.GetStringBuffer(L, 3);

        obj.SendMsgFromLua(arg0, arg1);
        return(0);
    }