static int AddMPNetClient(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); INetManager obj = LuaScriptMgr.GetNetObject <INetManager>(L, 1); com.gt.mpnet.MPNetClient arg0 = LuaScriptMgr.GetNetObject <com.gt.mpnet.MPNetClient>(L, 2); obj.AddMPNetClient(arg0); return(0); }