Example #1
0
    static int isServerConnect(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        CC.Runtime.SocketManager obj  = (CC.Runtime.SocketManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Runtime.SocketManager");
        CC.Runtime.SocketId      arg0 = (CC.Runtime.SocketId)LuaScriptMgr.GetNetObject(L, 2, typeof(CC.Runtime.SocketId));
        bool o = obj.isServerConnect(arg0);

        LuaScriptMgr.Push(L, o);
        return(1);
    }